aboutsummaryrefslogtreecommitdiffstats
path: root/testing/cdogs-sdl/APKBUILD
blob: 3b21ffe55ce150d1a0cb2c48c36e1be395eb557d (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
# Contributor: Díaz Urbaneja Diego <sodomon2@gmail.com>
# Maintainer: Díaz Urbaneja Diego <sodomon2@gmail.com>
pkgname=cdogs-sdl
pkgver=0.7.3
pkgrel=1
pkgdesc="Classic overhead run-and-gun game"
url="https://cxong.github.io/cdogs-sdl/"
arch="all"
license="GPL-1.0-only"
makedepends="cmake sdl2_image-dev sdl2-dev sdl2_mixer-dev mesa-dev"
options="!check" #make check not implemented
source="$pkgname-$pkgver.tar.gz::https://github.com/cxong/cdogs-sdl/archive/$pkgver.tar.gz"

build() {
	cmake CMakeLists.txt \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCDOGS_DATA_DIR=/usr/share/cdogs-sdl/ \
		-DCMAKE_BUILD_TYPE=None
	make
}

package() {
	make DESTDIR="$pkgdir" install
}
sha512sums="9f144a01aac60a9ebd62490e6cf0767d54464557c00233b03a0d6641a9c031e57eccf2cb27033127f197c5da836e974756d8f4b9c537419d2161036c9f87e2fa  cdogs-sdl-0.7.3.tar.gz"