summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorBrian Bidulock2015-06-11 02:13:01 -0600
committerBrian Bidulock2015-06-11 02:13:01 -0600
commit78e3c219b7ea9f88737c81c509a9c5ba0603e3f2 (patch)
tree8b52430f479b8be742e425407121aec7c9139818 /PKGBUILD
parent1537cfbf1b88d0852c418a773789101650ab9282 (diff)
downloadaur-xorg-grandr-git.tar.gz
version 1:0.1.5.g2aa67e3-1
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() {