diff --git a/srcpkgs/nspr/nspr-devel.template b/srcpkgs/nspr/nspr-devel.template index 8c919a9375b..057cba186aa 100644 --- a/srcpkgs/nspr/nspr-devel.template +++ b/srcpkgs/nspr/nspr-devel.template @@ -1,5 +1,6 @@ # Template file for 'nspr-devel'. # +noarch=yes depends="nspr-${version}_${revision}" short_desc="${short_desc} (development files)" long_desc="${long_desc} @@ -9,6 +10,5 @@ long_desc="${long_desc} do_install() { vmove usr/include usr vmove usr/bin usr - vmove "usr/lib/*.a" usr/lib vmove usr/lib/pkgconfig usr/lib } diff --git a/srcpkgs/nspr/template b/srcpkgs/nspr/template index cfd16c03056..efb38a25ec8 100644 --- a/srcpkgs/nspr/template +++ b/srcpkgs/nspr/template @@ -1,7 +1,7 @@ # Template file for 'nspr' pkgname=nspr version=4.9.3 -revision=1 +revision=2 build_style=gnu-configure configure_script="./mozilla/nsprpub/configure" if [ "$XBPS_MACHINE" = "x86_64" ]; then @@ -39,4 +39,7 @@ post_install() { chmod 644 ${DESTDIR}/usr/lib/pkgconfig/nspr.pc cd ${DESTDIR}/usr/lib/pkgconfig && \ ln -s nspr.pc mozilla-nspr.pc + + # Remove static libs. + rm -f ${DESTDIR}/usr/lib/*.a }