aboutsummaryrefslogtreecommitdiffstats
path: root/testing/xlennart
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2016-01-09 19:52:14 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2016-01-09 19:52:14 +0100
commit7ff939b3ea295cdf98f9b8a5755f1ce7ec0c9620 (patch)
tree582421e3c81327397327684dad542eb62cfddc2b /testing/xlennart
parent3be88a79d93fe6439494197e0d1bfd47b7d26ead (diff)
downloadaports-7ff939b3ea295cdf98f9b8a5755f1ce7ec0c9620.tar.bz2
aports-7ff939b3ea295cdf98f9b8a5755f1ce7ec0c9620.tar.xz
testing/xlennart: upgrade to 1.1.1
Diffstat (limited to 'testing/xlennart')
-rw-r--r--testing/xlennart/APKBUILD31
1 files changed, 13 insertions, 18 deletions
diff --git a/testing/xlennart/APKBUILD b/testing/xlennart/APKBUILD
index 95532153b..4795a321f 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"