diff options
author | Lin | 2015-06-16 21:23:48 +0800 |
---|---|---|
committer | Lin | 2015-06-16 21:23:48 +0800 |
commit | 522e099344717a0c781e72bdaa39bdec219aba40 (patch) | |
tree | 11bdb1c62fd10b624a66eec94411d95bfbb4e969 | |
download | aur-522e099344717a0c781e72bdaa39bdec219aba40.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 26 | ||||
-rw-r--r-- | PKGBUILD | 43 |
2 files changed, 69 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..dfb35bbd95e1 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,26 @@ +pkgbase = efbb-git + pkgdesc = Escape from Booty Bay is an EFL-based physics game that explore EPhysics amazing features + pkgver = 0.1.0.32.9158208 + pkgrel = 1 + url = http://git.enlightenment.org/games/efbb.git + arch = i686 + arch = x86_64 + license = BSD + license = CCPL:BY + license = CCPL:BY-NC + license = CCPL:BY-SA + license = CCPL:sampling+ + makedepends = geneet-git + makedepends = git + depends = elementary + depends = efl + depends = libcanberra + depends = etrophy + conflicts = efbb-svn + replaces = efbb-svn + options = !libtool + source = git://git.enlightenment.org/games/efbb.git + md5sums = SKIP + +pkgname = efbb-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a8e7a5bb9e33 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,43 @@ +# Maintainer: Cravix < dr dot neemous at gmail dot com > +# Contributor: Changaco < changaco at changaco dot net > + +pkgname=efbb-git +_pkgname=efbb +pkgver=0.1.0.32.9158208 +pkgrel=1 +pkgdesc="Escape from Booty Bay is an EFL-based physics game that explore EPhysics amazing features" +arch=('i686' 'x86_64') +url="http://git.enlightenment.org/games/efbb.git" +license=('BSD' 'CCPL:BY' 'CCPL:BY-NC' 'CCPL:BY-SA' 'CCPL:sampling+') +depends=('elementary' 'efl' 'libcanberra' 'etrophy') +makedepends=('geneet-git' 'git') +conflicts=('efbb-svn') +replaces=('efbb-svn') +options=('!libtool') +source="git://git.enlightenment.org/games/$_pkgname.git" +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/$_pkgname" + + for i in v_maj v_min v_mic; do + local _$i=$(grep -m 1 $i configure.ac | sed 's/m4//' | grep -o "[[:digit:]]*") + done + + echo $_v_maj.$_v_min.$_v_mic.$(git rev-list --count HEAD).$(git rev-parse --short HEAD) +} + +build() { + cd "$srcdir/$_pkgname" + ./autogen.sh --prefix=/usr + make +} + +package() { + cd "$srcdir/$_pkgname" + make DESTDIR="$pkgdir/" install + + # install license files + install -Dm644 $srcdir/$_pkgname/COPYING \ + $pkgdir/usr/share/licenses/$_pkgname/COPYING +} |