diff options
author | orhun | 2020-10-16 22:01:34 +0300 |
---|---|---|
committer | orhun | 2020-10-16 22:01:34 +0300 |
commit | 6696e48c90c185205530879f01c7790a611bcce1 (patch) | |
tree | 881c2e4cf5cae4a9edc8b189f6623735ade3de0c | |
parent | 3c44da867fc0129ddbbc7b05dea689eb7e162c3a (diff) | |
download | aur-6696e48c90c185205530879f01c7790a611bcce1.tar.gz |
upgpkg: lfs-git 0.5.1.r0.gdb844c0-1
upstream release
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,6 @@ pkgbase = lfs-git pkgdesc = Get information on your mounted disks (git) - pkgver = r16.f1fe593 + pkgver = 0.5.1.r0.gdb844c0 pkgrel = 1 url = https://github.com/Canop/lfs arch = x86_64 @@ -2,7 +2,7 @@ # https://github.com/orhun/pkgbuilds pkgname=lfs-git -pkgver=r16.f1fe593 +pkgver=0.5.1.r0.gdb844c0 pkgrel=1 pkgdesc="Get information on your mounted disks (git)" arch=('x86_64') @@ -14,7 +14,7 @@ sha512sums=('SKIP') pkgver() { cd "${pkgname%-git}" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { |