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