zziplib: remove references to -specs from .pc files

This commit is contained in:
Alessio Sergi 2017-07-17 17:07:37 +02:00
parent d92269bd2a
commit 1e74fd3545

View file

@ -15,6 +15,9 @@ checksum=1278178bdabac832da6bbf161033d890d335a2e38493c5af553ff5ce7b9b0220
pre_configure() {
sed -i '/SUBDIRS/s/docs//' Makefile.in
}
post_install() {
sed -i "s|\(-specs=.*hardened-ld\)||g" -i ${DESTDIR}/usr/lib/pkgconfig/*.pc
}
zziplib-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"