summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Bidulock2015-06-11 02:13:01 -0600
committerBrian Bidulock2015-06-11 02:13:01 -0600
commit78e3c219b7ea9f88737c81c509a9c5ba0603e3f2 (patch)
tree8b52430f479b8be742e425407121aec7c9139818
parent1537cfbf1b88d0852c418a773789101650ab9282 (diff)
downloadaur-78e3c219b7ea9f88737c81c509a9c5ba0603e3f2.tar.gz
version 1:0.1.5.g2aa67e3-1
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 68ba51b5d005..a35e588008b7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,8 @@
pkgbase = xorg-grandr-git
pkgdesc = Provides a friendly interface to monitor configuration and includes controls for video mode, rotation and monitor position.
- pkgver = grandr.0.1.5.g2aa67e3
+ pkgver = 0.1.5.g2aa67e3
pkgrel = 1
+ epoch = 1
url = http://cgit.freedesktop.org/xorg/app/grandr
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 42f076745a39..8daaed1c9a49 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() {