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

5 lines
89 B
Plaintext
Raw Normal View History

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