diff options
author | Lucas Werkmeister | 2015-08-09 17:49:00 +0200 |
---|---|---|
committer | Lucas Werkmeister | 2015-08-09 17:49:00 +0200 |
commit | 4f76e4cd5d9e379b50d53a146f86e668ad2230b3 (patch) | |
tree | 08fa87cfe26c7e79f4d4900655a3cd2bd8793a66 | |
parent | 6ed506e47380acca8ac80381f0a936ac472cec00 (diff) | |
download | aur-4f76e4cd5d9e379b50d53a146f86e668ad2230b3.tar.gz |
Add comment to pkgver()
We can’t change it to use git-describe now, since that would result in a
lower version number.
-rw-r--r-- | PKGBUILD | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -20,6 +20,8 @@ source=($pkgname::git://github.com/satanas/Turpial.git#branch=development) md5sums=('SKIP') pkgver() { + # TODO: with the next version bump, consider changing this to use `git describe` + # see https://wiki.archlinux.org/index.php/VCS_package_guidelines#Git cd $pkgname/ echo $(head -n1 ChangeLog | awk '{print $1}' | sed 's/v//;s/-/./').r$(git rev-list --count HEAD).$(git rev-parse --short HEAD) } |