aboutsummaryrefslogtreecommitdiffstats
path: root/testing/bumprace/APKBUILD
blob: 58903a9dfddca9262f8849e8b1109670a3393c23 (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
32
33
34
35
36
37
38
39
40
41
42
# Maintainer: Antoni Aloy <aaloytorrens@gmail.com>
pkgname=bumprace
pkgver=1.5.7
pkgrel=0
pkgdesc="1 or 2 players race through a multi-level maze"
url="http://www.linux-games.com/bumprace/"
arch="all"
license="GPL-2.0-only"
depends="$pkgname-data"
makedepends="sdl-dev sdl_image-dev sdl_mixer-dev libjpeg-turbo-dev libzip-dev"
subpackages="$pkgname-data::noarch"
source="https://github.com/antonialoytorrens/bumprace/releases/download/$pkgver/bumprace-$pkgver.tar.gz
	bumprace.desktop
	bumprace-icon.xpm
	"

build() {
	./configure --prefix=/usr
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
	install -Dm644 "$srcdir"/bumprace.desktop \
	"$pkgdir"/usr/share/applications/bumprace.desktop
	install -Dm664 "$srcdir"/bumprace-icon.xpm \
	"$pkgdir"/usr/share/pixmaps/bumprace-icon.xpm
}

data() {
	pkgdesc="$pkgdesc (data files)"
	amove usr/share/bumprace
}


sha512sums="58a2118856f2c4bdeb3529a074b017a80f613f17f3ca8757c837ca668e6bb9140a4ee4689b6e7c57f5afeb19bfe491bb6c3a80ea8f171c1cf96c4c09541401de  bumprace-1.5.7.tar.gz
7042f9dd077c823234eed7fdb863d6d4af4c42f2385bd1f5208052f6144a007e89a01e6e8bace04426bae3ea605c64980c538c9f3d29820d8331a511cbacfb1d  bumprace.desktop
380e6231951e27a47dab274e6cee1443d2cec53f0da48e5cf01dca5e2d3b1634c733427403bb8c384b6272fe5d60fc0eb2d2dc9a626e0ef013076b0521cb6ce0  bumprace-icon.xpm"