summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/nspr/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2010-10-23 18:17:40 (GMT)
committerJames Meyer <james.meyer@operamail.com>2010-10-23 18:19:39 (GMT)
commitadbcf19958300e9b6598990184c8815b945ba0ee (patch)
treef4283c850ac0ac202c17e78a637ee7ca8147621b /abs/extra-testing/nspr/PKGBUILD
parent61a68250df10d29b624650948484898334ff22d0 (diff)
downloadlinhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.zip
linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.gz
linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.bz2
Removed old core and extra from repo. Renamed -testing to core/extra. This will setup the base for the testing branch.
Diffstat (limited to 'abs/extra-testing/nspr/PKGBUILD')
-rw-r--r--abs/extra-testing/nspr/PKGBUILD53
1 files changed, 0 insertions, 53 deletions
diff --git a/abs/extra-testing/nspr/PKGBUILD b/abs/extra-testing/nspr/PKGBUILD
deleted file mode 100644
index 453b515..0000000
--- a/abs/extra-testing/nspr/PKGBUILD
+++ /dev/null
@@ -1,53 +0,0 @@
-# $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.8
-pkgrel=2
-pkgdesc="Netscape Portable Runtime"
-arch=(i686 x86_64)
-url="http://www.mozilla.org/projects/nspr/"
-license=('MPL' 'GPL')
-depends=('glibc')
-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=('e0916a72bcc6c427551ea262183fdb26'
- 'bce1611f3117b53fc904cab549c09967')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- [ "$CARCH" = "x86_64" ] && confflags="--enable-64bit"
- unset CFLAGS
- unset CXXFLAGS
- ./mozilla/nsprpub/configure \
- --prefix=/usr \
- --libdir=/usr/lib \
- --includedir=/usr/include/nspr \
- --enable-optimize \
- --disable-debug ${confflags} || return 1
- make || 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 "${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}," > "${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 ${pkgdir}/usr/lib/*.a || return 1
-
- rm -rf "${pkgdir}/usr/bin/compile-et.pl" \
- "${pkgdir}/usr/bin/prerr.properties" \
- "${pkgdir}/usr/share/aclocal/nspr.m4" \
- "${pkgdir}/usr/include/nspr/md"
-}