summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 42f076745a3..8daaed1c9a4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,8 @@
# Contributor: Olivier Mehani <shtrom-aur@ssji.net>
pkgname=xorg-grandr-git
-pkgver=grandr.0.1.5.g2aa67e3
+pkgver=0.1.5.g2aa67e3
+epoch=1
pkgrel=1
pkgdesc="Provides a friendly interface to monitor configuration and includes controls for video mode, rotation and monitor position."
arch=('i686' 'x86_64')
@@ -21,7 +22,7 @@ _gitname="grandr"
pkgver() {
cd $_gitname
- git describe --always | sed 's|-|.|g'
+ git describe --always | sed 's|^[^0-9]*||;s|-|.|g'
}
build() {