aboutsummaryrefslogtreecommitdiffstats
path: root/testing/xlennart/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/xlennart/APKBUILD')
-rw-r--r--testing/xlennart/APKBUILD31
1 files changed, 13 insertions, 18 deletions
diff --git a/testing/xlennart/APKBUILD b/testing/xlennart/APKBUILD
index 95532153b0..4795a321fa 100644
--- a/testing/xlennart/APKBUILD
+++ b/testing/xlennart/APKBUILD
@@ -1,6 +1,7 @@
+# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xlennart
-pkgver=1.1
+pkgver=1.1.1
pkgrel=0
pkgdesc="Game - Save the UNIX world"
url="https://github.com/Xylemon/xlennart"
@@ -11,19 +12,9 @@ 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
-}
+source="$pkgname-$pkgver.tar.gz::https://github.com/Xylemon/$pkgname/archive/$pkgver.tar.gz"
+_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
./configure \
@@ -32,7 +23,6 @@ build() {
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info \
--localstatedir=/var \
|| return 1
make || return 1
@@ -41,9 +31,14 @@ build() {
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
- install -D xlennart.desktop "$pkgdir"/usr/share/applications/xlennart.desktop
+ 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="78a6bfe59db7560dbd00729e5e9cdb61 xlennart-1.1.tar.gz"
-sha256sums="52cfc4b88ec38abee8654c6f41bec709bb881067f098607b2dc2e05a7962516c xlennart-1.1.tar.gz"
-sha512sums="c0f30169a1809ad05573202a28b7df8938c85d7ac201514f41bc9f1ce6ae78bbeb62358a8779ad2821cab73e2a6c1dcd1e36d758d2959dafe641844a51966fb4 xlennart-1.1.tar.gz"
+md5sums="139fbd10f5670882354dc0a14acbe1a4 xlennart-1.1.1.tar.gz"
+sha256sums="c614db5e7cc0e64469b7dbf6957170ff14e93b580e7ca1885e94041a5102bd57 xlennart-1.1.1.tar.gz"
+sha512sums="ebfb23922063a0208ab24b8c23c7a6737a2a158b549e2942f2f89b26a4972db0a12c843e5c761d6887858abc00ed9353dc6c2a816c1a3cc578f959897369a4c1 xlennart-1.1.1.tar.gz"