1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
3 # Contributor: Alexander Baldeck <alexander@archlinux.org>
8 pkgdesc="Netscape Portable Runtime"
9 url="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR"
14 source=(https://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${pkgver}/src/nspr-${pkgver}.tar.gz)
15 sha1sums=('28e05ef5cbe6e7cde239d3cdcccabf571ec73f69')
16 sha256sums=('bb6bf4f534b9559cf123dcdc6f9cd8167de950314a90a88b2a329c16836e7f6c')
27 --includedir=/usr/include/nspr \
31 make ${SOURCE_DATE_EPOCH:+
32 SH_NOW="${SOURCE_DATE_EPOCH}000000"
33 SH_DATE="$(date --utc --date="@$SOURCE_DATE_EPOCH" '+%Y-%m-%d %T')"
39 make DESTDIR="$pkgdir" install
40 ln -s nspr.pc "$pkgdir/usr/lib/pkgconfig/mozilla-nspr.pc"
41 rm -r "$pkgdir"/usr/bin/{compile-et.pl,prerr.properties} \
42 "$pkgdir"/usr/include/nspr/md