mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
core/nspr to 4.16-1
This commit is contained in:
parent
3c4818d38e
commit
8ef2b7af78
1 changed files with 11 additions and 7 deletions
|
@ -6,7 +6,7 @@
|
|||
# - --enable-64bit for AArch64
|
||||
|
||||
pkgname=nspr
|
||||
pkgver=4.15
|
||||
pkgver=4.16
|
||||
pkgrel=1
|
||||
pkgdesc="Netscape Portable Runtime"
|
||||
url="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR"
|
||||
|
@ -14,13 +14,17 @@ arch=(i686 x86_64)
|
|||
license=(MPL GPL)
|
||||
depends=(glibc sh)
|
||||
makedepends=(zip)
|
||||
source=(https://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${pkgver}/src/${pkgname}-${pkgver}.tar.gz)
|
||||
sha1sums=('56030e0177849034ba3027a23ae2a7f8ed41f379')
|
||||
sha256sums=('27dde06bc3d0c88903a20d6ad807361a912cfb624ca0ab4efb10fc50b19e2d80')
|
||||
source=(https://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${pkgver}/src/nspr-${pkgver}.tar.gz)
|
||||
sha1sums=('b295ee2550b43edc0598c20663ceef9fa3fafe51')
|
||||
sha256sums=('9b3102d97665504aeee73363c11a21c062ad67a2522242368b7f019f96a53cd1')
|
||||
|
||||
prepare() {
|
||||
cd nspr-$pkgver/nspr
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
./nspr/configure \
|
||||
cd nspr-$pkgver/nspr
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib \
|
||||
--includedir=/usr/include/nspr \
|
||||
|
@ -31,7 +35,7 @@ build() {
|
|||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
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} \
|
||||
|
|
Loading…
Reference in a new issue