rocksndiamonds: update to 4.0.0.0
This commit is contained in:
parent
862d79f9c2
commit
e3f1ec4a09
|
@ -1,27 +1,34 @@
|
|||
# Template file for 'rocksndiamonds'
|
||||
pkgname=rocksndiamonds
|
||||
version=3.3.1.2
|
||||
version=4.0.0.0
|
||||
revision=1
|
||||
build_style=gnu-makefile
|
||||
hostmakedepends="pkg-config"
|
||||
# XXX: switch to SDL2
|
||||
makedepends="SDL_image-devel SDL_mixer-devel SDL_net-devel"
|
||||
short_desc="Arcade style game"
|
||||
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
||||
license="GPL-2"
|
||||
homepage="http://www.artsoft.org/rocksndiamonds"
|
||||
distfiles="http://www.artsoft.org/RELEASES/unix/${pkgname}/${pkgname}-${version}.tar.gz"
|
||||
checksum=c117c20026299c6c935bd531ef9b0dc767731f600881d12ceb80c831483755f3
|
||||
checksum=041878417bce3c497f1757b507c3150610497e94cff8fb0addfd889c7d105c8e
|
||||
|
||||
do_build() {
|
||||
make ${makejobs} CC="${CC}" \
|
||||
CFLAGS="${CFLAGS} -DTARGET_SDL $(sdl-config --cflags) -DRO_GAME_DIR='\"/usr/share/${pkgname}\"' -DRW_GAME_DIR='\"/var/lib/${pkgname}\"'" \
|
||||
LDFLAGS="${LDFLAGS} $(sdl-config --libs) -lSDL_image -lSDL_mixer -lSDL_net -lm"
|
||||
CFLAGS+=" -DTARGET_SDL"
|
||||
CFLAGS+=" $(sdl-config --cflags)"
|
||||
CFLAGS+=" -DRO_GAME_DIR='\"/usr/share/${pkgname}\"'"
|
||||
CFLAGS+=" -DRW_GAME_DIR='\"/var/lib/${pkgname}\"'"
|
||||
LDFLAGS+=" $(sdl-config --libs)"
|
||||
LDFLAGS+=" -lSDL_image -lSDL_mixer -lSDL_net -lm"
|
||||
make CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ${makejobs} sdl
|
||||
}
|
||||
|
||||
do_install() {
|
||||
vmkdir usr/share/${pkgname}
|
||||
cp -aR graphics levels music sounds ${DESTDIR}/usr/share/${pkgname}
|
||||
vbin rocksndiamonds
|
||||
vman rocksndiamonds.1
|
||||
# Manual page is no longer supplied (WTF)
|
||||
# vman rocksndiamonds.1
|
||||
vinstall ${FILESDIR}/${pkgname}.desktop 644 usr/share/applications
|
||||
vinstall ${FILESDIR}/${pkgname}.png 644 usr/share/pixmaps
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue