mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
core/nspr to 4.33-1
This commit is contained in:
parent
f8d5c83c64
commit
fe6a22a40e
1 changed files with 18 additions and 10 deletions
|
@ -6,24 +6,29 @@
|
|||
# - --enable-64bit for AArch64
|
||||
|
||||
pkgname=nspr
|
||||
pkgver=4.32
|
||||
pkgver=4.33
|
||||
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=('28e05ef5cbe6e7cde239d3cdcccabf571ec73f69')
|
||||
sha256sums=('bb6bf4f534b9559cf123dcdc6f9cd8167de950314a90a88b2a329c16836e7f6c')
|
||||
makedepends=(zip mercurial)
|
||||
_revision=5f753966dc01e1872eb4fee6e7b6d0a4fd3daad2
|
||||
source=("hg+https://hg.mozilla.org/projects/nspr#revision=$_revision")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd nspr
|
||||
hg id -t | sed 's/^NSPR_//;s/_RTM$//;s/_/./g'
|
||||
}
|
||||
|
||||
prepare() {
|
||||
cd nspr-$pkgver/nspr
|
||||
cd nspr
|
||||
}
|
||||
|
||||
build() {
|
||||
cd nspr-$pkgver/nspr
|
||||
cd nspr
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib \
|
||||
|
@ -38,9 +43,12 @@ build() {
|
|||
}
|
||||
|
||||
package() {
|
||||
cd nspr-$pkgver/nspr
|
||||
cd 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
|
||||
|
||||
rm -r "$pkgdir"/usr/include/nspr/md
|
||||
rm "$pkgdir"/usr/bin/{compile-et.pl,prerr.properties}
|
||||
}
|
||||
|
||||
# vim:set sw=2 et:
|
||||
|
|
Loading…
Reference in a new issue