[arch-commits] Commit in nspr/repos (4 files)
Jan Steffens
heftig at archlinux.org
Sat Oct 1 20:26:15 UTC 2016
Date: Saturday, October 1, 2016 @ 20:26:14
Author: heftig
Revision: 277523
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
nspr/repos/testing-i686/
nspr/repos/testing-i686/PKGBUILD
(from rev 277522, nspr/trunk/PKGBUILD)
nspr/repos/testing-x86_64/
nspr/repos/testing-x86_64/PKGBUILD
(from rev 277522, nspr/trunk/PKGBUILD)
-------------------------+
testing-i686/PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++
testing-x86_64/PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 88 insertions(+)
Copied: nspr/repos/testing-i686/PKGBUILD (from rev 277522, nspr/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2016-10-01 20:26:14 UTC (rev 277523)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: Alexander Baldeck <alexander at archlinux.org>
+
+pkgname=nspr
+pkgver=4.13
+pkgrel=1
+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=(https://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${pkgver}/src/${pkgname}-${pkgver}.tar.gz)
+sha1sums=('c9274bb5cc33a388a7e8cd9b378873c59190f74b')
+sha256sums=('19c33334bb3fa6d24800ffa65d7d806c54ad5f8c3758a5c11352ad43212ab181')
+
+build() {
+ cd $pkgname-$pkgver
+
+ if [ "$CARCH" = "x86_64" ]; then
+ _confflags="--enable-64bit"
+ else
+ _confflags=""
+ fi
+
+ ./nspr/configure \
+ --prefix=/usr \
+ --libdir=/usr/lib \
+ --includedir=/usr/include/nspr \
+ --enable-optimize \
+ --disable-debug ${_confflags}
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+
+ ln -s nspr.pc "$pkgdir/usr/lib/pkgconfig/mozilla-nspr.pc"
+ rm -r "$pkgdir"/usr/bin/{compile-et.pl,prerr.properties} \
+ "$pkgdir/usr/include/nspr/md"
+}
Copied: nspr/repos/testing-x86_64/PKGBUILD (from rev 277522, nspr/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2016-10-01 20:26:14 UTC (rev 277523)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: Alexander Baldeck <alexander at archlinux.org>
+
+pkgname=nspr
+pkgver=4.13
+pkgrel=1
+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=(https://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${pkgver}/src/${pkgname}-${pkgver}.tar.gz)
+sha1sums=('c9274bb5cc33a388a7e8cd9b378873c59190f74b')
+sha256sums=('19c33334bb3fa6d24800ffa65d7d806c54ad5f8c3758a5c11352ad43212ab181')
+
+build() {
+ cd $pkgname-$pkgver
+
+ if [ "$CARCH" = "x86_64" ]; then
+ _confflags="--enable-64bit"
+ else
+ _confflags=""
+ fi
+
+ ./nspr/configure \
+ --prefix=/usr \
+ --libdir=/usr/lib \
+ --includedir=/usr/include/nspr \
+ --enable-optimize \
+ --disable-debug ${_confflags}
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+
+ ln -s nspr.pc "$pkgdir/usr/lib/pkgconfig/mozilla-nspr.pc"
+ rm -r "$pkgdir"/usr/bin/{compile-et.pl,prerr.properties} \
+ "$pkgdir/usr/include/nspr/md"
+}
More information about the arch-commits
mailing list