[arch-commits] Commit in nspr/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Jan Steffens
heftig at archlinux.org
Thu Sep 17 18:04:31 UTC 2020
Date: Thursday, September 17, 2020 @ 18:04:30
Author: heftig
Revision: 396228
archrelease: copy trunk to testing-x86_64
Added:
nspr/repos/testing-x86_64/
nspr/repos/testing-x86_64/PKGBUILD
(from rev 396227, nspr/trunk/PKGBUILD)
----------+
PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
Copied: nspr/repos/testing-x86_64/PKGBUILD (from rev 396227, nspr/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2020-09-17 18:04:30 UTC (rev 396228)
@@ -0,0 +1,43 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+# Contributor: Alexander Baldeck <alexander at archlinux.org>
+
+pkgname=nspr
+pkgver=4.29
+pkgrel=1
+pkgdesc="Netscape Portable Runtime"
+url="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR"
+arch=(x86_64)
+license=(MPL GPL)
+depends=(glibc sh)
+makedepends=(zip)
+source=(https://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${pkgver}/src/nspr-${pkgver}.tar.gz)
+sha1sums=('6d9cc6c1201ccbdcd61a1298aa2221170e1dc081')
+sha256sums=('22286bdb8059d74632cc7c2865c139e63953ecfb33bf4362ab58827e86e92582')
+
+prepare() {
+ cd nspr-$pkgver/nspr
+}
+
+build() {
+ cd nspr-$pkgver/nspr
+ ./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib \
+ --includedir=/usr/include/nspr \
+ --enable-optimize \
+ --disable-debug \
+ --enable-64bit
+ make ${SOURCE_DATE_EPOCH:+
+ SH_NOW="${SOURCE_DATE_EPOCH}000000"
+ SH_DATE="$(date --utc --date="@$SOURCE_DATE_EPOCH" '+%Y-%m-%d %T')"
+ }
+}
+
+package() {
+ cd nspr-$pkgver/nspr
+ 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