core/nspr to 4.22-1

This commit is contained in:
Kevin Mihelich 2019-08-25 19:20:24 +00:00
parent 1d4e0d93e6
commit e368cdb289

View file

@ -5,7 +5,7 @@
# - --enable-64bit for AArch64 # - --enable-64bit for AArch64
pkgname=nspr pkgname=nspr
pkgver=4.21 pkgver=4.22
pkgrel=1 pkgrel=1
pkgdesc="Netscape Portable Runtime" pkgdesc="Netscape Portable Runtime"
url="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR" url="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR"
@ -14,8 +14,8 @@ license=(MPL GPL)
depends=(glibc sh) depends=(glibc sh)
makedepends=(zip) makedepends=(zip)
source=(https://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${pkgver}/src/nspr-${pkgver}.tar.gz) source=(https://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${pkgver}/src/nspr-${pkgver}.tar.gz)
sha1sums=('0ae8c710a52775e209b96aa6220362837b79b6c3') sha1sums=('69bd044d4a258a9c1cb1062a182fb8a30f0ad641')
sha256sums=('15ea32c7b100217b6e3193bc03e77f485d9bf7504051443ba9ce86d1c17c6b5a') sha256sums=('c9e4b6cc24856ec93202fe13704b38b38ba219f0f2aeac93090ce2b6c696d430')
prepare() { prepare() {
cd nspr-$pkgver/nspr cd nspr-$pkgver/nspr
@ -30,7 +30,10 @@ build() {
--enable-optimize \ --enable-optimize \
--disable-debug \ --disable-debug \
$([[ $CARCH == x86_64 || $CARCH == aarch64 ]] && echo --enable-64bit) $([[ $CARCH == x86_64 || $CARCH == aarch64 ]] && echo --enable-64bit)
make make ${SOURCE_DATE_EPOCH:+
SH_NOW="${SOURCE_DATE_EPOCH}000000"
SH_DATE="$(date --utc --date="@$SOURCE_DATE_EPOCH" '+%Y-%m-%d %T')"
}
} }
package() { package() {