diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-01-15 15:17:22 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-01-15 15:17:22 +0000 |
commit | 9ab9fdcba910e0d1d7e5bcab0e8ba192a57ab95f (patch) | |
tree | 6a62d1b358bd15b9dac29aec372c7982fb506714 /testing/xlennart/APKBUILD | |
parent | 5d7fa76a0e76c925d7d452f1669393f12116ca92 (diff) | |
download | aports-9ab9fdcba910e0d1d7e5bcab0e8ba192a57ab95f.tar.bz2 aports-9ab9fdcba910e0d1d7e5bcab0e8ba192a57ab95f.tar.xz |
testing/xlennart: new aport
Game - Save the UNIX world
https://github.com/Xylemon/xlennart
Diffstat (limited to 'testing/xlennart/APKBUILD')
-rw-r--r-- | testing/xlennart/APKBUILD | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/testing/xlennart/APKBUILD b/testing/xlennart/APKBUILD new file mode 100644 index 000000000..9b0733fe8 --- /dev/null +++ b/testing/xlennart/APKBUILD @@ -0,0 +1,50 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=xlennart +pkgver=1.1 +pkgrel=0 +pkgdesc="Game - Save the UNIX world" +url="https://github.com/Xylemon/xlennart" +arch="all" +license="GPLv2" +depends="" +depends_dev="" +makedepends="$depends_dev gtk+2.0-dev" +install="" +subpackages="$pkgname-doc" +source="xlennart-$pkgver.tar.gz::https://github.com/Xylemon/xlennart/archive/$pkgver.tar.gz" + +_builddir="$srcdir"/xlennart-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la + install -D xlennart.desktop "$pkgdir"/usr/share/applications/xlennart.desktop +} + +md5sums="78a6bfe59db7560dbd00729e5e9cdb61 xlennart-1.1.tar.gz" +sha256sums="52cfc4b88ec38abee8654c6f41bec709bb881067f098607b2dc2e05a7962516c xlennart-1.1.tar.gz" +sha512sums="c0f30169a1809ad05573202a28b7df8938c85d7ac201514f41bc9f1ce6ae78bbeb62358a8779ad2821cab73e2a6c1dcd1e36d758d2959dafe641844a51966fb4 xlennart-1.1.tar.gz" |