diff options
Diffstat (limited to 'abs/extra/nspr')
-rw-r--r-- | abs/extra/nspr/PKGBUILD | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/abs/extra/nspr/PKGBUILD b/abs/extra/nspr/PKGBUILD index 750f05f..3b1ad58 100644 --- a/abs/extra/nspr/PKGBUILD +++ b/abs/extra/nspr/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 87667 2010-08-17 14:52:56Z jgc $ +# $Id: PKGBUILD 162022 2012-06-18 22:10:00Z ibiru $ # Maintainer: Jan de Groot <jgc@archlinux.org> # Contributor: Alexander Baldeck <alexander@archlinux.org> pkgname=nspr -pkgver=4.8.6 +pkgver=4.9.1 pkgrel=1 pkgdesc="Netscape Portable Runtime" -arch=('i686' 'x86_64') +arch=(i686 x86_64) url="http://www.mozilla.org/projects/nspr/" license=('MPL' 'GPL') depends=('glibc') @@ -13,7 +13,7 @@ makedepends=('zip') options=(!emptydirs) source=(ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${pkgver}/src/${pkgname}-${pkgver}.tar.gz nspr.pc.in) -md5sums=('592c275728c29d193fdba8009165990b' +md5sums=('d36d7b65a38f5b43ebd50ad3ad227120' 'bce1611f3117b53fc904cab549c09967') build() { @@ -23,8 +23,10 @@ build() { else confflags="" fi - unset CFLAGS - unset CXXFLAGS + + sed -e 's/\$(MKSHLIB) \$(OBJS)/\$(MKSHLIB) \$(LDFLAGS) \$(OBJS)/g' \ + -i mozilla/nsprpub/config/rules.mk + ./mozilla/nsprpub/configure \ --prefix=/usr \ --libdir=/usr/lib \ @@ -33,6 +35,7 @@ build() { --disable-debug ${confflags} make } + package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install |