aur_pkgs/_docs/PKGBUILD.templates.d/vcs/04.vcsver.hg

5 lines
90 B
Plaintext
Raw Normal View History

pkgver() {
2016-09-13 15:45:56 -04:00
cd "${_pkgname}"
printf "r%s.%s" "$(hg identify -n)" "$(hg identify -i)"
}