summaryrefslogtreecommitdiffstats
path: root/abs/extra/nspr
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-22 00:11:56 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-22 00:11:56 (GMT)
commite87ea98c721ac7e41fc90351f67e0d07f6d44335 (patch)
tree8e15170fda28a046fcd28961eb727199552be2c5 /abs/extra/nspr
parentc11bdcae9a2ee3bf51d6d39c01b92bc5ccfa6108 (diff)
downloadlinhes_pkgbuild-e87ea98c721ac7e41fc90351f67e0d07f6d44335.zip
linhes_pkgbuild-e87ea98c721ac7e41fc90351f67e0d07f6d44335.tar.gz
linhes_pkgbuild-e87ea98c721ac7e41fc90351f67e0d07f6d44335.tar.bz2
nspr: 4.9.1
Diffstat (limited to 'abs/extra/nspr')
-rw-r--r--abs/extra/nspr/PKGBUILD15
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