aboutsummaryrefslogtreecommitdiffstats
path: root/testing/madbomber/APKBUILD
blob: 63d0db1204a5f8bcb10e8993e17994e0d81e800c (plain) (blame)
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
# Maintainer: Antoni Aloy <aaloytorrens@gmail.com>
pkgname=madbomber
pkgver=0.2.5
pkgrel=2
pkgdesc="Clone of Activision's classic Atari 2600 console game Kaboom!"
url="http://www.newbreedsoftware.com/madbomber/"
arch="all"
license="GPL-2.0-or-later"
depends="libmikmod"
makedepends="sdl12-compat-dev sdl_mixer-dev sdl_image-dev"
options="!check" # No testsuite
source="https://github.com/antonialoytorrens/nbs/raw/master/unix/x/madbomber/src/madbomber-$pkgver.tar.gz
	0001-makefile.patch
	"

build() {
	make
}

package() {
	make install \
		DATA_PREFIX="$pkgdir"/usr/share/madbomber \
		BIN_PREFIX="$pkgdir"/usr/bin
	install -Dm644 "$builddir"/madbomber.desktop \
	"$pkgdir"/usr/share/applications/madbomber.desktop
	install -Dm644 "$builddir"/madbomber-icon.xpm \
	"$pkgdir"/usr/share/pixmaps/madbomber-icon.xpm
}

sha512sums="c9e0890f5dede6b031dea544a0a09f5a13dd8f40e23cf7d2dba1ad83322f036da56f5ebc3b5b4d8fc0a6b8973ccfdec29108706e36953a11b0c5768083ce6ced  madbomber-0.2.5.tar.gz
0b3c1d0ad391e23a362c980264aadc1d83194b3353232481cb78598366f70e81c4b3ecf92def87eea24a611ef7ca12cddf75332a6c8d5bc803a826af94bc7a74  0001-makefile.patch"