summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Newgard2013-04-04 23:35:57 -0500
committerDoug Newgard2013-04-04 23:35:57 -0500
commit55d7d15f013e51fd5b418c3b8916af37d82148bf (patch)
tree5bf911f747f9502663b3bfce3de6d32b8be945ac
parentebd0fc2ad7bbd85763b1c31c708c51a28096718b (diff)
downloadaur-55d7d15f013e51fd5b418c3b8916af37d82148bf.tar.gz
Simplify pkgver function
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD5
2 files changed, 3 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4f356117cb5..03beab579d5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = entrance-git
pkgdesc = Enlightenment Display Manager
- pkgver = 0.0.4.x
+ pkgver = 0.0.4.19
pkgrel = 1
url = http://trac.enlightenment.org/e
arch = i686
@@ -9,7 +9,6 @@ pkgbase = entrance-git
makedepends = git
depends = elementary
conflicts = entrance-svn
- options = debug
source = git://git.enlightenment.org/misc/entrance.git
source = entrance-pam
source = entrance.service
diff --git a/PKGBUILD b/PKGBUILD
index 48d8858018d..75ec34ae524 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=entrance-git
_pkgname=entrance
-pkgver=0.0.4.x
+pkgver=0.0.4.19
pkgrel=1
pkgdesc="Enlightenment Display Manager"
url="http://trac.enlightenment.org/e"
@@ -14,7 +14,6 @@ arch=('i686' 'x86_64')
depends=('elementary')
makedepends=('git')
conflicts=('entrance-svn')
-options=('debug')
source=("git://git.enlightenment.org/misc/$_pkgname.git"
'entrance-pam'
'entrance.service')
@@ -25,7 +24,7 @@ md5sums=('SKIP'
pkgver() {
cd "$srcdir/$_pkgname"
- echo $(grep -m 1 AC_INIT configure.ac | awk -F , '{print $2}' | tr -d '[ ]').$(git rev-list --count HEAD)
+ echo $(awk -F , '/^AC_INIT/ {print $2}' configure.ac | tr -d '[ ]').$(git rev-list --count HEAD)
}
build () {