diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-01-14 02:44:31 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-01-14 02:44:31 (GMT) |
commit | 95cf6290d2172b876965de46d78db8ac5d6f6192 (patch) | |
tree | 4c871332192706e0edf572da3a9c7176ded03eab /abs/extra-testing/nspr | |
parent | f69dd7145bb9c35aa629ff649642e2f5ec4b45d6 (diff) | |
download | linhes_pkgbuild-95cf6290d2172b876965de46d78db8ac5d6f6192.zip linhes_pkgbuild-95cf6290d2172b876965de46d78db8ac5d6f6192.tar.gz linhes_pkgbuild-95cf6290d2172b876965de46d78db8ac5d6f6192.tar.bz2 |
Needed for XULrunner.
Diffstat (limited to 'abs/extra-testing/nspr')
-rw-r--r-- | abs/extra-testing/nspr/PKGBUILD | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/abs/extra-testing/nspr/PKGBUILD b/abs/extra-testing/nspr/PKGBUILD index e968390..57d9d3c 100644 --- a/abs/extra-testing/nspr/PKGBUILD +++ b/abs/extra-testing/nspr/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 2577 2008-06-08 12:29:04Z jgc $ +# $Id: PKGBUILD 18817 2008-11-09 12:29:50Z jgc $ # Maintainer: Alexander Baldeck <alexander@archlinux.org> # Contributor: Jan de Groot <jgc@archlinux.org> pkgname=nspr -pkgver=4.7.1 +pkgver=4.7.3 pkgrel=1 pkgdesc="Netscape Portable Runtime" arch=(i686 x86_64) @@ -13,11 +13,11 @@ 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=('7c6e75a0867ce2b9ec62e399a908b5ac' +md5sums=('3496d6656f3e02dddc7e29f1b122b744' 'bce1611f3117b53fc904cab549c09967') build() { - cd ${startdir}/src/${pkgname}-${pkgver} + cd "${srcdir}/${pkgname}-${pkgver}" [ "$CARCH" = "x86_64" ] && confflags="--enable-64bit" unset CFLAGS unset CXXFLAGS @@ -28,26 +28,26 @@ build() { --enable-optimize \ --disable-debug ${confflags} || return 1 make || return 1 - make DESTDIR=${startdir}/pkg install || return 1 + make DESTDIR="${pkgdir}" install || return 1 NSPR_LIBS=`./config/nspr-config --libs` NSPR_CFLAGS=`./config/nspr-config --cflags` NSPR_VERSION=`./config/nspr-config --version` - install -m755 -d ${startdir}/pkg/usr/lib/pkgconfig || return 1 - sed ${startdir}/src/nspr.pc.in -e "s,%libdir%,/usr/lib," \ + install -m755 -d "${pkgdir}/usr/lib/pkgconfig" || return 1 + sed "${srcdir}/nspr.pc.in" -e "s,%libdir%,/usr/lib," \ -e "s,%prefix%,/usr," \ -e "s,%exec_prefix%,/usr/bin," \ -e "s,%includedir%,/usr/include/nspr," \ -e "s,%NSPR_VERSION%,${NSPR_VERSION}," \ -e "s,%FULL_NSPR_LIBS%,${NSPR_LIBS}," \ - -e "s,%FULL_NSPR_CFLAGS%,${NSPR_CFLAGS}," > ${startdir}/pkg/usr/lib/pkgconfig/nspr.pc || return 1 - 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 + -e "s,%FULL_NSPR_CFLAGS%,${NSPR_CFLAGS}," > "${pkgdir}/usr/lib/pkgconfig/nspr.pc" || return 1 + chmod 644 "${pkgdir}/usr/lib/pkgconfig/nspr.pc" || return 1 + ln -sf nspr.pc "${pkgdir}/usr/lib/pkgconfig/mozilla-nspr.pc" || return 1 - chmod 644 ${startdir}/pkg/usr/lib/*.a || return 1 + chmod 644 ${pkgdir}/usr/lib/*.a || return 1 - rm -rf ${startdir}/pkg/usr/bin/compile-et.pl \ - ${startdir}/pkg/usr/bin/prerr.properties \ - ${startdir}/pkg/usr/share/aclocal/nspr.m4 \ - ${startdir}/pkg/usr/include/nspr/md + rm -rf "${pkgdir}/usr/bin/compile-et.pl" \ + "${pkgdir}/usr/bin/prerr.properties" \ + "${pkgdir}/usr/share/aclocal/nspr.m4" \ + "${pkgdir}/usr/include/nspr/md" } |