Initial PKGBUILD
This commit is contained in:
commit
f0fe650ff4
3 changed files with 62 additions and 0 deletions
17
.SRCINFO
Normal file
17
.SRCINFO
Normal file
|
@ -0,0 +1,17 @@
|
|||
pkgbase = e_jeweled-git
|
||||
pkgdesc = Bejeweled style game base on EFL
|
||||
pkgver = 0.0.0.r15.bbdb683
|
||||
pkgrel = 1
|
||||
url = http://www.enlightenment.org
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
license = unknown
|
||||
makedepends = git
|
||||
depends = elementary
|
||||
provides = e_jeweled=0.0.0.r15.bbdb683
|
||||
conflicts = e_jeweled
|
||||
source = git://git.enlightenment.org/devs/seoz/e_jeweled.git
|
||||
md5sums = SKIP
|
||||
|
||||
pkgname = e_jeweled-git
|
||||
|
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
*~
|
||||
*/
|
||||
*.tar.*
|
||||
*.log
|
41
PKGBUILD
Normal file
41
PKGBUILD
Normal file
|
@ -0,0 +1,41 @@
|
|||
# Maintainer: Doug Newgard <scimmia22 at outlook dot com>
|
||||
|
||||
pkgname=e_jeweled-git
|
||||
_pkgname=${pkgname%-*}
|
||||
pkgver=0.0.0.r15.bbdb683
|
||||
pkgrel=1
|
||||
pkgdesc="Bejeweled style game base on EFL"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.enlightenment.org"
|
||||
license=('unknown')
|
||||
depends=('elementary')
|
||||
makedepends=('git')
|
||||
provides=("$_pkgname=$pkgver")
|
||||
conflicts=("$_pkgname")
|
||||
source=("git://git.enlightenment.org/devs/seoz/$_pkgname.git")
|
||||
md5sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd "$srcdir/$_pkgname"
|
||||
|
||||
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)
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$_pkgname"
|
||||
|
||||
export CFLAGS="$CFLAGS -fvisibility=hidden"
|
||||
|
||||
./autogen.sh \
|
||||
--prefix=/usr
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$_pkgname"
|
||||
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
Loading…
Reference in a new issue