rocksndiamonds: update to 4.3.0.1
This commit is contained in:
parent
908f7282e2
commit
8994f2fcee
1 changed files with 3 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'rocksndiamonds'
|
||||
pkgname=rocksndiamonds
|
||||
version=4.2.3.1
|
||||
version=4.3.0.1
|
||||
revision=1
|
||||
build_style=gnu-makefile
|
||||
hostmakedepends="pkg-config"
|
||||
|
@ -10,14 +10,13 @@ maintainer="Orphaned <orphan@voidlinux.org>"
|
|||
license="GPL-2.0-only"
|
||||
homepage="http://www.artsoft.org/rocksndiamonds"
|
||||
distfiles="http://www.artsoft.org/RELEASES/unix/${pkgname}/${pkgname}-${version}.tar.gz"
|
||||
checksum=58c1a63c147b7e6a2294d461cb65e6162e8493ec144a4d7b405544f48c432dca
|
||||
checksum=997f6cddb2fc48aed6e6b524b150974410f43956b420d37ebc098f40be92807c
|
||||
replaces="rocksndiamonds-data>=0"
|
||||
|
||||
do_build() {
|
||||
vsed -i Makefile -e "s;^\(MAKE_CMD = \$(MAKE)\);& ${makejobs};"
|
||||
CFLAGS+=" -DTARGET_SDL2"
|
||||
CFLAGS+=" -DRO_GAME_DIR='\"/usr/share/${pkgname}\"'"
|
||||
CFLAGS+=" -DRW_GAME_DIR='\"/var/lib/${pkgname}\"'"
|
||||
CFLAGS+=" -DBASE_PATH='\"/usr/share/${pkgname}\"'"
|
||||
CFLAGS+=" $(sdl2-config --cflags)"
|
||||
LDFLAGS+=" $(sdl2-config --libs) -lSDL2_image -lSDL2_mixer -lSDL2_net -lm -lz"
|
||||
make CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
|
|
Loading…
Reference in a new issue