summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Newgard2014-01-09 00:24:47 -0600
committerDoug Newgard2014-01-09 00:24:47 -0600
commit38988647ab9329e258da2789fa5e18a71cf27e74 (patch)
tree067ad2a939dfe8ebfffb6e381087867b20b3184e
parent69ed56eeb451ed5ac26fa68e0fcb7d4646e09a3c (diff)
downloadaur-38988647ab9329e258da2789fa5e18a71cf27e74.tar.gz
Template update, pkgver bump, and use ekbd-git for conditional dep
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD16
2 files changed, 12 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fef24591312..78da00dd63d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = entrance-git
pkgdesc = Enlightenment Display Manager
- pkgver = 0.0.5.r45.539a5d9
+ pkgver = 0.0.99.r73.9f1e051
pkgrel = 1
url = http://www.enlightenment.org/
arch = i686
@@ -9,13 +9,13 @@ pkgbase = entrance-git
makedepends = git
depends = elementary
depends = xorg-xauth
- provides = entrance=0.0.5.r45.539a5d9
+ provides = entrance=0.0.99.r73.9f1e051
conflicts = entrance
backup = etc/entrance.conf
source = git://git.enlightenment.org/misc/entrance.git
source = entrance.service
- md5sums = SKIP
- md5sums = a64b761bb312d9685705232618f57d84
+ sha256sums = SKIP
+ sha256sums = 187e721108e342bf0442cdaf2a3e4b836b17c3c756b691d1ee3f02e6abcb0ecb
pkgname = entrance-git
diff --git a/PKGBUILD b/PKGBUILD
index 5246755a95e..153c6c4271f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,31 +3,31 @@
# Contributor: Samsagax <samsagax at gmail dot com>
# Contributor: Swift Geek <swiftgeek+spam@gmail.com>
-pkgname=entrance-git
-_pkgname=${pkgname%-*}
-pkgver=0.0.5.r45.539a5d9
+_pkgname=entrance
+pkgname=$_pkgname-git
+pkgver=0.0.99.r73.9f1e051
pkgrel=1
pkgdesc="Enlightenment Display Manager"
url="http://www.enlightenment.org/"
license=('GPL3')
arch=('i686' 'x86_64')
depends=('elementary' 'xorg-xauth')
- [[ ! $(pacman -T ekbd-svn) ]] && depends+=('ekbd-svn')
+ [[ (! $(pacman -T ekbd-svn)) || (! $(pacman -T ekbd-git)) ]] && depends+=('ekbd-git')
makedepends=('git')
provides=("$_pkgname=$pkgver")
conflicts=("$_pkgname")
backup=('etc/entrance.conf')
source=("git://git.enlightenment.org/misc/$_pkgname.git"
'entrance.service')
-md5sums=('SKIP'
- 'a64b761bb312d9685705232618f57d84')
+sha256sums=('SKIP'
+ '187e721108e342bf0442cdaf2a3e4b836b17c3c756b691d1ee3f02e6abcb0ecb')
pkgver() {
cd "$srcdir/$_pkgname"
- local _ver=$(awk -F , '/^AC_INIT/ {print $2}' configure.ac | tr -d '[ ]')
+ local v_ver=$(awk -F , '/^AC_INIT/ {gsub(/[\[\] -]/, ""); print $2}' configure.ac)
- echo $_ver.r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)
+ printf "$v_ver.r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}
prepare() {