blob: 9b0733fe86b4901ea9ccb884bb4c2ec9ceddd9e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
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"
|