summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e34b0dcc1b96..4a58dcc8eef0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = featherpad-git
pkgdesc = Lightweight Qt5 plain text editor for Linux
- pkgver = r110.e54a5c6
+ pkgver = 0.9.4.10.g8026818
pkgrel = 1
url = https://github.com/tsujan/FeatherPad
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 6ec7e23c4d2c..8bfba157aebc 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() {