summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorKeyLo992019-08-31 17:51:21 +0300
committerKeyLo992019-08-31 17:51:21 +0300
commite8cb994a1c107801b6432ca92b6fdaf6cd7307e6 (patch)
tree39c7fefc4303edf6befce2a8a34eec609e0d32ab /PKGBUILD
parent8030819b205f852776391cc605ef6cc99d31b2a1 (diff)
downloadaur-e8cb994a1c107801b6432ca92b6fdaf6cd7307e6.tar.gz
Release new version 1.4 & update pkgver function
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index d7f41ebf186..63a71d65b4e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=pkgtop-git
pkgdesc="Interactive package manager & resource monitor"
-pkgver=r340.10ff101
+pkgver=1.4.r0.g54d1d06
pkgrel=1
arch=('any')
url="https://github.com/keylo99/pkgtop"
@@ -16,7 +16,7 @@ sha256sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {