summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Cegliński2021-10-03 15:50:13 +0200
committerRobert Cegliński2021-10-03 15:50:13 +0200
commit9c3a88a67eedb462690ae8f3fee9f133016c21df (patch)
treed68e05a55b506a1ea75ba98b394cca6256c4fb02
parentb7282f97d8c9064f538468a97392e3d3338d346d (diff)
downloadaur-9c3a88a67eedb462690ae8f3fee9f133016c21df.tar.gz
Fix version
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6abaf2239517..79fc39fac091 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = wlr-randr-git
pkgdesc = Utility to manage outputs of a Wayland compositor (latest git version)
- pkgver = v0.2.0+1+gfb31752
+ pkgver = 0.2.0+1+gfb31752
pkgrel = 1
url = https://github.com/emersion/wlr-randr
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 9eba88537feb..090544d9e3ce 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
# Contributor: Denis Zheleztsov <difrex.punk@gmail.com>
pkgname=wlr-randr-git
-pkgver=v0.2.0+1+gfb31752
+pkgver=0.2.0+1+gfb31752
pkgrel=1
pkgdesc="Utility to manage outputs of a Wayland compositor (latest git version)"
arch=('x86_64')
@@ -18,7 +18,7 @@ sha512sums=('SKIP')
pkgver() {
cd $pkgname
- git describe --tags | sed 's/-/+/g'
+ git describe --tags | sed 's/-/+/g;s/^v//'
}
build() {