File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Template file for 'rocksndiamonds'
22pkgname=rocksndiamonds
33version=4.1.4.0
4- revision=1
4+ revision=2
55build_style=gnu-makefile
66hostmakedepends="pkg-config"
77makedepends="SDL2_image-devel SDL2_mixer-devel SDL2_net-devel"
@@ -14,17 +14,14 @@ distfiles="http://www.artsoft.org/RELEASES/unix/${pkgname}/${pkgname}-${version}
1414checksum=40658f923b9efa9116476abe8427fb65596b2015cf845dd83a4d8c3de1a32e5b
1515
1616LDFLAGS="-lz"
17- case "$XBPS_TARGET_MACHINE" in
18- arm*) broken="https://build.voidlinux.org/builders/armv6l-musl_builder/builds/23388/steps/shell_3/logs/stdio";;
19- esac
2017
2118do_build() {
2219 CFLAGS+=" -DTARGET_SDL2"
2320 CFLAGS+=" -DRO_GAME_DIR='\"/usr/share/${pkgname}\"'"
2421 CFLAGS+=" -DRW_GAME_DIR='\"/var/lib/${pkgname}\"'"
2522 CFLAGS+=" $(sdl2-config --cflags)"
2623 LDFLAGS+=" $(sdl2-config --libs) -lSDL2_image -lSDL2_mixer -lSDL2_net -lm"
27- make CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" sdl2
24+ make ${makejobs} CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" sdl2
2825}
2926
3027do_install() {
You can’t perform that action at this time.
0 commit comments