summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authororhun2020-10-16 22:01:34 +0300
committerorhun2020-10-16 22:01:34 +0300
commit6696e48c90c185205530879f01c7790a611bcce1 (patch)
tree881c2e4cf5cae4a9edc8b189f6623735ade3de0c /PKGBUILD
parent3c44da867fc0129ddbbc7b05dea689eb7e162c3a (diff)
downloadaur-6696e48c90c185205530879f01c7790a611bcce1.tar.gz
upgpkg: lfs-git 0.5.1.r0.gdb844c0-1
upstream release
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index dd457b7063a2..1420e84891b9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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() {