blob: 3510f062d6ff8245355ab22a5efa3e239cc03079 (
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
|
# Contributor: Díaz Urbaneja Diego <sodomon2@gmail.com>
# Maintainer: Díaz Urbaneja Diego <sodomon2@gmail.com>
pkgname=cdogs-sdl
pkgver=0.7.0
pkgrel=0
pkgdesc="Classic overhead run-and-gun game"
url="https://cxong.github.io/cdogs-sdl/"
arch="x86_64 x86"
license="GPL"
depends="sdl2 sdl2_mixer sdl2_image mesa"
makedepends="cmake"
options="!check"
source="$pkgname-$pkgver.tar.gz::https://github.com/cxong/$pkgname/archive/$pkgver.tar.gz"
build() {
cmake CMakeLists.txt \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCDOGS_DATA_DIR=/usr/share/cdogs-sdl/ \
-DCMAKE_BUILD_TYPE=Release
make
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="33ff3a0fa9c8f5d32b79caf52fc9cf1472d71245821f841fdaa926acaa7c4342884be975962f128e5d5f24e2ad86923547116f8ca29d157960cc1181d4aa6cba cdogs-sdl-0.7.0.tar.gz"
|