untested. but this should work quite nicely
This commit is contained in:
5
_docs/PKGBUILD.templates.d/vcs/04.vcsver.svn
Normal file
5
_docs/PKGBUILD.templates.d/vcs/04.vcsver.svn
Normal file
@@ -0,0 +1,5 @@
|
||||
pkgver() {
|
||||
cd "${pkgname}"
|
||||
local ver="$(svnversion)"
|
||||
printf "r%s" "${ver//[[:alpha:]]}"
|
||||
}
|
||||
Reference in New Issue
Block a user