Template update

This commit is contained in:
Doug Newgard 2013-11-21 01:02:48 -06:00
parent 3e20b76324
commit 98428b618e
2 changed files with 6 additions and 7 deletions

View file

@ -1,6 +1,6 @@
pkgbase = desksanity-git
pkgdesc = Enlightement Module: Desktop Insanity
pkgver = 0.1.r8.a37d634
pkgver = 0.1.r28.e312dba
pkgrel = 1
url = http://www.enlightenment.org
arch = i686
@ -9,10 +9,10 @@ pkgbase = desksanity-git
makedepends = git
depends = efx-git
depends = enlightenment17>=0.18.99
provides = desksanity=0.1.r8.a37d634
provides = desksanity=0.1.r28.e312dba
conflicts = desksanity
source = git://git.enlightenment.org/devs/discomfitor/desksanity.git
md5sums = SKIP
sha256sums = SKIP
pkgname = desksanity-git

View file

@ -2,7 +2,7 @@
pkgname=desksanity-git
_pkgname=${pkgname%-*}
pkgver=0.1.r8.a37d634
pkgver=0.1.r28.e312dba
pkgrel=1
pkgdesc="Enlightement Module: Desktop Insanity"
arch=('i686' 'x86_64')
@ -12,14 +12,13 @@ depends=('efx-git' 'enlightenment17>=0.18.99')
makedepends=('git')
provides=("$_pkgname=$pkgver")
conflicts=("$_pkgname")
#options=('!libtool')
source=("git://git.enlightenment.org/devs/discomfitor/$_pkgname.git")
md5sums=('SKIP')
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
local _ver=$(awk -F , '/^AC_INIT/ {print $2}' configure.ac | tr -d '[ ]')
local _ver=$(awk -F , '/^AC_INIT/ {print $2}' configure.ac | tr -d '[ ]-')
echo $_ver.r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}