[manjaro-dev] a question about package versions

Philip Müller philm at manjaro.org
Thu Apr 21 07:38:01 CEST 2016

Hi Kendell,

this is easy. Simply use the standard PKGVER function we use in all our
git packages. Example:

pkgver() {
  cd "$srcdir/manjaro-settings-manager"
  _git=".r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
  echo -e "${_pkgver}${_git}"

instead of _pkgver you can also use some like echo -e "$(date

More information about the manjaro-dev mailing list