[arch-commits] Commit in lib32-nspr/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Sat Jul 25 19:28:25 UTC 2020
Date: Saturday, July 25, 2020 @ 19:28:25
Author: heftig
Revision: 665288
4.27-1
Modified:
lib32-nspr/trunk/PKGBUILD
----------+
PKGBUILD | 29 +++++++++++++++++++----------
1 file changed, 19 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-25 19:26:50 UTC (rev 665287)
+++ PKGBUILD 2020-07-25 19:28:25 UTC (rev 665288)
@@ -1,10 +1,11 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: 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.26
+pkgver=4.27
pkgrel=1
pkgdesc="Netscape Portable Runtime (32-bit)"
url="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR"
@@ -13,25 +14,33 @@
depends=(lib32-glibc nspr)
makedepends=(zip)
source=(https://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${pkgver}/src/nspr-${pkgver}.tar.gz)
-sha1sums=('53fa85a05718ce952ac01257d37013801183e48d')
-sha256sums=('fc9d142d85b74ffd2e6374a0c9016f3f2dac074225e24df3070e5a72d31b773d')
+sha1sums=('7a318da847beb5aff04446fc2db11b253b6fb7c8')
+sha256sums=('6d495192b6ab00a3c28db053492cf794329f7c0351a5728db198111a1816e89b')
+prepare() {
+ cd nspr-$pkgver/nspr
+}
+
build() {
- cd nspr-$pkgver
- ./nspr/configure \
+ cd nspr-$pkgver/nspr
+ ./configure \
--prefix=/usr \
--libdir=/usr/lib32 \
--includedir=/usr/include/nspr \
--enable-optimize \
- --disable-debug
- make
+ --disable-debug \
+ --disable-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
+ cd nspr-$pkgver/nspr
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}
+ rm -r "$pkgdir"/usr/{bin,share,include}
}
More information about the arch-commits
mailing list