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 c4e82c83e18b..8d2dbe326cf6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = labwc-git
pkgdesc = stacking wayland compositor with look and feel from openbox (git version)
- pkgver = r338.db4249d
+ pkgver = 0.1.0.r6.g6ece805
pkgrel = 1
url = https://github.com/johanmalm/labwc
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 1564c4cd6104..eea7485b1f66 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
_pkgname=labwc
pkgname=labwc-git
-pkgver=r338.db4249d
+pkgver=0.1.0.r6.g6ece805
pkgrel=1
pkgdesc='stacking wayland compositor with look and feel from openbox (git version)'
url="https://github.com/johanmalm/labwc"
@@ -19,7 +19,7 @@ md5sums=('SKIP')
pkgver() {
cd "$_pkgname"
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {