aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ibniz/APKBUILD
blob: a1ef5ff7fe5588b1c1902ed3653a1e603d2170c9 (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
# Contributor: Johannes Matheis <jomat+alpinebuild@jmt.gr>
# Maintainer: Johannes Matheis <jomat+alpinebuild@jmt.gr>
pkgname=ibniz
pkgver=1.18
pkgrel=0
pkgdesc="A virtual machine designed for extremely compact low-level audiovisual programs"
url="http://pelulamu.net/ibniz/"
arch="all"
license="zlib"
depends=""
depends_dev="sdl-dev"
makedepends="$depends_dev"
install=""
source="${url}/${pkgname}-${pkgver}.tar.gz"

_builddir="$srcdir/$pkgname-$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"
	make

}

package() {
	cd "$_builddir"
	install -D -m755 ibniz "$pkgdir/usr/bin/ibniz"
	install -D -m644 licence.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"

}

md5sums="81ee96b253111cfe2abdc7a843757287  ibniz-1.18.tar.gz"
sha256sums="e2f292641a67abd477fac8f2c455fa1579ba854c1f15152a41fef48fd46c6481  ibniz-1.18.tar.gz"
sha512sums="63448e3eb639a831b847cc3a737040a661ff4107e53ff70b9c33ba951c584ca903729547efd27afff9ac0b9e25a315a1d36670a4f4722c3d2287f375cb1bd760  ibniz-1.18.tar.gz"