[arch-commits] Commit in lib32-nspr/repos (2 files)
Jan Steffens
heftig at archlinux.org
Fri Oct 18 14:46:35 UTC 2019
Date: Friday, October 18, 2019 @ 14:46:34
Author: heftig
Revision: 516876
archrelease: copy trunk to multilib-testing-x86_64
Added:
lib32-nspr/repos/multilib-testing-x86_64/
lib32-nspr/repos/multilib-testing-x86_64/PKGBUILD
(from rev 516875, lib32-nspr/trunk/PKGBUILD)
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: lib32-nspr/repos/multilib-testing-x86_64/PKGBUILD (from rev 516875, lib32-nspr/trunk/PKGBUILD)
===================================================================
--- multilib-testing-x86_64/PKGBUILD (rev 0)
+++ multilib-testing-x86_64/PKGBUILD 2019-10-18 14:46:34 UTC (rev 516876)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: kfgz <kfgz at interia pl>
+# Contributor: Ionut Biru <ibiru at archlinux dot org>
+
+pkgname=lib32-nspr
+pkgver=4.23
+pkgrel=1
+pkgdesc="Netscape Portable Runtime (32-bit)"
+url="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR"
+arch=(x86_64)
+license=(MPL GPL)
+depends=(lib32-glibc nspr)
+makedepends=(zip)
+source=(https://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${pkgver}/src/nspr-${pkgver}.tar.gz)
+sha1sums=('f3fb61231901cdbb9e1b74e3930ff081ed764358')
+sha256sums=('4b9d821037faf5723da901515ed9cac8b23ef1ea3729022259777393453477a4')
+
+build() {
+ cd nspr-$pkgver
+ ./nspr/configure \
+ --prefix=/usr \
+ --libdir=/usr/lib32 \
+ --includedir=/usr/include/nspr \
+ --enable-optimize \
+ --disable-debug
+ make
+}
+
+package() {
+ cd nspr-$pkgver
+ make DESTDIR="$pkgdir" install
+ ln -s nspr.pc "$pkgdir/usr/lib32/pkgconfig/mozilla-nspr.pc"
+ rm -r "$pkgdir"/usr/bin/{compile-et.pl,prerr.properties} \
+ "$pkgdir"/usr/include/nspr/md
+ rm -rf "$pkgdir"/usr/{bin,share,include}
+}
More information about the arch-commits
mailing list