summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNarrat2021-03-07 20:41:11 +0100
committerNarrat2021-03-07 20:41:11 +0100
commit9e8355c316c840261a030d3abb0688c191fb88a3 (patch)
tree704a61889859e0fe224dd3286cbed52278f8b3fe
parentbf7f3e1e8e2c78cabec0e1b8e4970149eb3d1106 (diff)
downloadaur-9e8355c316c840261a030d3abb0688c191fb88a3.tar.gz
labwc-git: change pkgver()
as upstream now uses tags
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c4e82c83e18..8d2dbe326cf 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 1564c4cd610..eea7485b1f6 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() {