libextractor: remove references to -specs from .pc file

This commit is contained in:
Alessio Sergi 2017-07-19 12:10:04 +02:00
parent 187420cbf8
commit 94705516bf
1 changed files with 4 additions and 0 deletions

View File

@ -15,6 +15,10 @@ homepage="https://www.gnu.org/software/libextractor/"
distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.gz" distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.gz"
checksum=84128170a4a9aa3a19942dd53fdf30ed17b56d7fae79b5f6e7e17a0d65d1f66c checksum=84128170a4a9aa3a19942dd53fdf30ed17b56d7fae79b5f6e7e17a0d65d1f66c
post_install() {
sed -i "s|\(-specs=.*hardened-ld\)||g" ${DESTDIR}/usr/lib/pkgconfig/libextractor.pc
}
libextractor-devel_package() { libextractor-devel_package() {
short_desc+=" - development files" short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}" depends="${sourcepkg}>=${version}_${revision}"