aur_pkgs/_docs/PKGBUILD.templates.d/vcs/04.vcsver.hg
2016-09-13 15:45:56 -04:00

5 lines
90 B
Plaintext

pkgver() {
cd "${_pkgname}"
printf "r%s.%s" "$(hg identify -n)" "$(hg identify -i)"
}