[arch-commits] Commit in nspr/repos/core-x86_64 (PKGBUILD PKGBUILD)

Jan de Groot jgc at archlinux.org
Wed Oct 7 08:04:00 UTC 2015


    Date: Wednesday, October 7, 2015 @ 10:04:00
  Author: jgc
Revision: 248448

archrelease: copy trunk to core-x86_64

Added:
  nspr/repos/core-x86_64/PKGBUILD
    (from rev 248447, nspr/trunk/PKGBUILD)
Deleted:
  nspr/repos/core-x86_64/PKGBUILD

----------+
 PKGBUILD |   88 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 44 insertions(+), 44 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2015-10-07 08:03:42 UTC (rev 248447)
+++ PKGBUILD	2015-10-07 08:04:00 UTC (rev 248448)
@@ -1,44 +0,0 @@
-# $Id$
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-# Contributor: Alexander Baldeck <alexander at archlinux.org>
-
-pkgname=nspr
-pkgver=4.10.9
-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=(ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${pkgver}/src/${pkgname}-${pkgver}.tar.gz)
-sha1sums=('405e5ad45111ddf95a5d39d647d41d27456c9443')
-sha256sums=('4112ff6ad91d32696ca0c6c3d4abef6367b5dc0127fa172fcb3c3ab81bb2d881')
-
-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/core-x86_64/PKGBUILD (from rev 248447, nspr/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-10-07 08:04:00 UTC (rev 248448)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: Alexander Baldeck <alexander at archlinux.org>
+
+pkgname=nspr
+pkgver=4.10.9
+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=('405e5ad45111ddf95a5d39d647d41d27456c9443')
+sha256sums=('4112ff6ad91d32696ca0c6c3d4abef6367b5dc0127fa172fcb3c3ab81bb2d881')
+
+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