Package Details: nspr-hg 4.26-1

Git Clone URL: https://aur.archlinux.org/nspr-hg.git (read-only, click to copy)
Package Base: nspr-hg
Description: Netscape Portable Runtime
Upstream URL: https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR
Licenses: GPL, MPL
Conflicts: nspr
Provides: nspr=4.26
Submitter: franziskus
Maintainer: franziskus
Last Packager: franziskus
Votes: 1
Popularity: 0.003496
First Submitted: 2019-11-12 13:28
Last Updated: 2020-02-25 13:27

Required by (79)

Sources (1)

Latest Comments

PedroHLC commented on 2020-06-12 03:43

Thanks @aereaux

aereaux commented on 2020-06-06 18:03

Hello. Thanks for this package. Here's a pkgver function that seems to work for me (I took it mostly from the nss-hg package):

pkgver() {
  local vmajor vminor vpatch
  cd "$_pkgname"

  { read vmajor; read vminor; read vpatch; } \
    < <(awk '/#define.*PR_V(MAJOR|MINOR|PATCH)/ {print $3}' pr/include/prinit.h)

  printf "%s.%s.%sr%s.%s" "$vmajor" "$vminor" "$vpatch" "$(hg identify -n)" "$(hg identify -i)"
}

I think this package also requires mercurial as a makedepend.

PedroHLC commented on 2020-01-07 22:23

This package is missing a dynamic pkgver function

PedroHLC commented on 2019-11-12 17:39

provides=("nspr=${pkgver}")

Hi, it seems like a provide tag like this is required so nss-hg constraint accepts it.

I can confirm nss-hg builds with this nspr! Thanks for the fast providing of this package.