[arch-commits] CVS update of extra/lib/nspr (PKGBUILD)

Jan de Groot jgc at archlinux.org
Wed Mar 12 21:47:53 UTC 2008


    Date: Wednesday, March 12, 2008 @ 17:47:53
  Author: jgc
    Path: /home/cvs-extra/extra/lib/nspr

Modified: PKGBUILD (1.13 -> 1.14)

upgpkg: nspr 4.7-1
    And go up to 4.7 aswel...


----------+
 PKGBUILD |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)


Index: extra/lib/nspr/PKGBUILD
diff -u extra/lib/nspr/PKGBUILD:1.13 extra/lib/nspr/PKGBUILD:1.14
--- extra/lib/nspr/PKGBUILD:1.13	Wed Mar 12 17:43:01 2008
+++ extra/lib/nspr/PKGBUILD	Wed Mar 12 17:47:52 2008
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD,v 1.13 2008/03/12 21:43:01 jgc Exp $
+# $Id: PKGBUILD,v 1.14 2008/03/12 21:47:52 jgc Exp $
 # Maintainer: Alexander Baldeck <alexander at archlinux.org>
 # Contributor: Jan de Groot <jgc at archlinux.org>
 pkgname=nspr
-pkgver=4.6.8
+pkgver=4.7
 pkgrel=1
 pkgdesc="Netscape Portable Runtime"
 arch=(i686 x86_64)
@@ -13,7 +13,7 @@
 options=(!emptydirs)
 source=(ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${pkgver}/src/${pkgname}-${pkgver}.tar.gz
 	nspr.pc.in)
-md5sums=('6cbf681f8b7312cd54f04b7dbea381bc'
+md5sums=('f937c37f45b116130fef34b15afb6fac'
          'bce1611f3117b53fc904cab549c09967')
 
 build() {
@@ -26,7 +26,7 @@
 	--enable-optimize="${CFLAGS}" \
 	--disable-debug ${confflags} || return 1
   make || return 1
-  make DESTDIR=${startdir}/pkg real_install || return 1
+  make DESTDIR=${startdir}/pkg install || return 1
 
   NSPR_LIBS=`./config/nspr-config --libs`
   NSPR_CFLAGS=`./config/nspr-config --cflags`
@@ -42,7 +42,7 @@
   chmod 644 ${startdir}/pkg/usr/lib/pkgconfig/nspr.pc || return 1
   ln -sf nspr.pc ${startdir}/pkg/usr/lib/pkgconfig/mozilla-nspr.pc || return 1
 
-  install -m755 config/nspr-config ${startdir}/pkg/usr/bin/nspr-config || return 1
+  chmod 644 ${startdir}/pkg/usr/lib/*.a || return 1
 
   rm -rf ${startdir}/pkg/usr/bin/compile-et.pl \
 	${startdir}/pkg/usr/bin/prerr.properties \




More information about the arch-commits mailing list