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
+%Y.%m.%d)$(_git)"