diff options
author | Márton Szabó | 2018-03-12 11:08:26 +0100 |
---|---|---|
committer | Márton Szabó | 2018-03-12 11:08:26 +0100 |
commit | 8ea65ff1ff21c73c7c939a1f0de785fa01bde9b6 (patch) | |
tree | 7bf1f72b6ce0b13f1e447aaa5eaccfaefe73989e | |
parent | 5cb25f6d5028e43a7fb2656cb24204bbf063015e (diff) | |
download | aur-8ea65ff1ff21c73c7c939a1f0de785fa01bde9b6.tar.gz |
Added pkgver(), version 7.0.1
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 9 insertions, 3 deletions
@@ -1,6 +1,6 @@ pkgbase = tokei-git pkgdesc = A blazingly fast CLOC(Count Lines Of Code) program - pkgver = 6.0.1 + pkgver = v7.0.1.r17.16d49fc pkgrel = 1 url = https://github.com/Aaronepower/tokei arch = i686 @@ -1,6 +1,7 @@ -# Maintainer: Márton Szabó <notramo@vipmail.hu> +# Maintainer: Márton Szabó < echo "bm90cmFtb0B2aXBtYWlsLmh1Cg=="|base64 -d > + pkgname=tokei-git -pkgver=6.0.1 +pkgver=v7.0.1.r17.16d49fc pkgrel=1 pkgdesc='A blazingly fast CLOC(Count Lines Of Code) program' arch=('i686' 'x86_64') @@ -12,6 +13,11 @@ conflicts=('tokei') source=("git+https://github.com/Aaronepower/tokei") sha512sums=(SKIP) +pkgver() { + cd "${srcdir}/tokei" + printf "%s" "$(git describe --long --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g')" +} + build() { cd "${srcdir}/tokei" |