[arch-commits] Commit in nspr/repos (4 files)

Jan Steffens heftig at archlinux.org
Sat Oct 22 19:40:21 UTC 2016


    Date: Saturday, October 22, 2016 @ 19:40:21
  Author: heftig
Revision: 279146

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  nspr/repos/testing-i686/
  nspr/repos/testing-i686/PKGBUILD
    (from rev 279145, nspr/trunk/PKGBUILD)
  nspr/repos/testing-x86_64/
  nspr/repos/testing-x86_64/PKGBUILD
    (from rev 279145, 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 279145, nspr/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2016-10-22 19:40:21 UTC (rev 279146)
@@ -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.1
+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=('ec6660257d41267a0e6ee25812e9012cb9ddd274')
+sha256sums=('5e4c1751339a76e7c772c0c04747488d7f8c98980b434dc846977e43117833ab')
+
+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 279145, nspr/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2016-10-22 19:40:21 UTC (rev 279146)
@@ -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.1
+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=('ec6660257d41267a0e6ee25812e9012cb9ddd274')
+sha256sums=('5e4c1751339a76e7c772c0c04747488d7f8c98980b434dc846977e43117833ab')
+
+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