🔒 Repository is read-only – file editing is disabled.
12345678910111213141516171819202122232425262728
pkgname: nspr
pkgver: '4.40'
pkgrel: '1'
pkgdesc: 'Netscape Portable Runtime library (NSPR)'
url: 'https://www.mozilla.org/projects/nspr/'
arch: x86_64
depends: []
makedepends: []
source:
- 'https://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${pkgver}/src/${pkgname}-${pkgver}.tar.gz'
sha256sums:
- SKIP
build: |
cd ${pkgname}-${pkgver}/${pkgname}
sed -ri 's#^(RELEASE_BINS =).*#\1#' pr/src/misc/Makefile.in
sed -i 's#$(LIBRARY) ##' config/rules.mk
./configure --prefix=/usr \
--with-mozilla \
--with-pthreads \
$([ $(uname -m) = x86_64 ] && echo --enable-64bit)
make
make DESTDIR=${PKGDIR} install
package: |
true