mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
core/nspr to 4.22-1
This commit is contained in:
parent
1d4e0d93e6
commit
e368cdb289
1 changed files with 7 additions and 4 deletions
|
@ -5,7 +5,7 @@
|
|||
# - --enable-64bit for AArch64
|
||||
|
||||
pkgname=nspr
|
||||
pkgver=4.21
|
||||
pkgver=4.22
|
||||
pkgrel=1
|
||||
pkgdesc="Netscape Portable Runtime"
|
||||
url="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR"
|
||||
|
@ -14,8 +14,8 @@ 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=('0ae8c710a52775e209b96aa6220362837b79b6c3')
|
||||
sha256sums=('15ea32c7b100217b6e3193bc03e77f485d9bf7504051443ba9ce86d1c17c6b5a')
|
||||
sha1sums=('69bd044d4a258a9c1cb1062a182fb8a30f0ad641')
|
||||
sha256sums=('c9e4b6cc24856ec93202fe13704b38b38ba219f0f2aeac93090ce2b6c696d430')
|
||||
|
||||
prepare() {
|
||||
cd nspr-$pkgver/nspr
|
||||
|
@ -30,7 +30,10 @@ build() {
|
|||
--enable-optimize \
|
||||
--disable-debug \
|
||||
$([[ $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() {
|
||||
|
|
Loading…
Reference in a new issue