summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorPeter Mattern2019-03-17 23:38:16 +0100
committerPeter Mattern2019-03-17 23:38:16 +0100
commit38d1493bc0655a6978f25a55e7d5a023291ab090 (patch)
tree485c9a17a1171cbf79efe42cfeaa68238cfb6719 /PKGBUILD
parentde62fbc60b14f17cb25e25dff7aef47a8d600995 (diff)
downloadaur-featherpad-git.tar.gz
Adjust pkgver()
Now that upstream releases are available 'git describe' is a better choice.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 6ec7e23c4d2..8bfba157aeb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
_pkgname=featherpad
pkgname=$_pkgname-git
-pkgver=r110.e54a5c6
+pkgver=0.9.4.10.g8026818
pkgrel=1
pkgdesc='Lightweight Qt5 plain text editor for Linux'
arch=('i686' 'x86_64')
@@ -18,7 +18,7 @@ sha256sums=("SKIP")
pkgver() {
cd $_pkgname
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ git describe --always | sed "s:^V::;s:-:.:g"
}
build() {