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 51df1b118c3a..243f7e4bc2ce 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = autorandr-git
pkgdesc = Auto-detect the connect display hardware and load the appropiate X11 setup using xrandr. Formerly autodisper. No disper support.
- pkgver = r244.9b1ef49
+ pkgver = 1.0.r16.g855c18b
pkgrel = 1
url = https://github.com/phillipberndt/autorandr
install = autorandr-git.install
diff --git a/PKGBUILD b/PKGBUILD
index f69d5e7c4139..23342a0c5bc8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@
# Contributor: wertarbyte (original author of auto-disper and autorandr)
pkgname=autorandr-git
-pkgver=r244.9b1ef49
+pkgver=1.0.r16.g855c18b
pkgrel=1
pkgdesc="Auto-detect the connect display hardware and load the appropiate X11 setup using xrandr. Formerly autodisper. No disper support."
arch=('any')
@@ -38,7 +38,7 @@ sha256sums=('SKIP'
pkgver() {
cd "${srcdir}/${pkgname}"
( set -o pipefail
- git describe --long --tag | sed -r 's/([^-]*-g)/r\1/;s/-/./g' ||
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
) 2>/dev/null
}