diff --git a/srcpkgs/rocksndiamonds/template b/srcpkgs/rocksndiamonds/template index bdfbca30b26..480aefff57f 100644 --- a/srcpkgs/rocksndiamonds/template +++ b/srcpkgs/rocksndiamonds/template @@ -1,6 +1,6 @@ # Template file for 'rocksndiamonds' pkgname=rocksndiamonds -version=4.1.4.1 +version=4.2.0.1 revision=1 build_style=gnu-makefile hostmakedepends="pkg-config" @@ -11,17 +11,15 @@ maintainer="Jürgen Buchmüller " license="GPL-2.0-only" homepage="http://www.artsoft.org/rocksndiamonds" distfiles="http://www.artsoft.org/RELEASES/unix/${pkgname}/${pkgname}-${version}.tar.gz" -checksum=0f65559070b24e8a82c27e7cae40243a8dcdca9028c4c9cc75487112129854ce - -LDFLAGS="-lz" +checksum=2143d778f7d1bbe1a86aa9deb69abd1e193945c90a3117838e0397ed8296db65 do_build() { CFLAGS+=" -DTARGET_SDL2" CFLAGS+=" -DRO_GAME_DIR='\"/usr/share/${pkgname}\"'" CFLAGS+=" -DRW_GAME_DIR='\"/var/lib/${pkgname}\"'" CFLAGS+=" $(sdl2-config --cflags)" - LDFLAGS+=" $(sdl2-config --libs) -lSDL2_image -lSDL2_mixer -lSDL2_net -lm" - make ${makejobs} CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" sdl2 + LDFLAGS+=" $(sdl2-config --libs) -lSDL2_image -lSDL2_mixer -lSDL2_net -lm -lz" + make ${makejobs} CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" } do_install() {