diff options
Diffstat (limited to 'unmaintained/xlennart/APKBUILD')
-rw-r--r-- | unmaintained/xlennart/APKBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/unmaintained/xlennart/APKBUILD b/unmaintained/xlennart/APKBUILD new file mode 100644 index 0000000000..4795a321fa --- /dev/null +++ b/unmaintained/xlennart/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=xlennart +pkgver=1.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="$pkgname-$pkgver.tar.gz::https://github.com/Xylemon/$pkgname/archive/$pkgver.tar.gz" + +_builddir="$srcdir"/$pkgname-$pkgver +build() { + cd "$_builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + install -Dm644 xlennart.desktop \ + "$pkgdir"/usr/share/applications/xlennart.desktop || return 1 + + mkdir -p "$pkgdir"/usr/share/doc/$pkgname + install -m644 INSTALL README.md README.Ports README.Credits \ + "$pkgdir"/usr/share/doc/$pkgname || return 1 +} + +md5sums="139fbd10f5670882354dc0a14acbe1a4 xlennart-1.1.1.tar.gz" +sha256sums="c614db5e7cc0e64469b7dbf6957170ff14e93b580e7ca1885e94041a5102bd57 xlennart-1.1.1.tar.gz" +sha512sums="ebfb23922063a0208ab24b8c23c7a6737a2a158b549e2942f2f89b26a4972db0a12c843e5c761d6887858abc00ed9353dc6c2a816c1a3cc578f959897369a4c1 xlennart-1.1.1.tar.gz" |