cdogs-sdl: update to 0.5.5
This commit is contained in:
parent
40e9b67922
commit
dce79f108e
|
@ -1,12 +1,12 @@
|
|||
# Template file for 'cdogs'
|
||||
pkgname=cdogs-sdl
|
||||
version=0.5.4
|
||||
version=0.5.5
|
||||
revision=1
|
||||
build_style=cmake
|
||||
_hqxrev=994249c8c4d1446afd9c05654bf7eafffd7a11bb;
|
||||
_tinydirrev=5545eeb7bf5ee2b64f790a276f89aa1856a6269a
|
||||
hostmakedepends="cmake"
|
||||
makedepends="SDL-devel SDL_mixer-devel SDL_image-devel"
|
||||
makedepends="SDL-devel SDL_mixer-devel SDL_image-devel SDL_net-devel"
|
||||
short_desc="A classic overhead run-and-gun game"
|
||||
maintainer="Enno Boland <eb@s01.de>"
|
||||
homepage="http://cxong.github.io/cdogs-sdl/"
|
||||
|
@ -14,7 +14,7 @@ license="GPL2"
|
|||
distfiles="https://github.com/cxong/cdogs-sdl/archive/$version.tar.gz
|
||||
https://github.com/cxong/tinydir/archive/$_tinydirrev.tar.gz
|
||||
https://github.com/cxong/hqx/archive/$_hqxrev.tar.gz"
|
||||
checksum="675eab5e9fafe3254cd2a42435c37809d97050bd875c748184d59565a8dda276
|
||||
checksum="144ddf2a818f7bdac159cabb94d3aefeb9a0879ac06ff0c4987d8e5084fbfa9e
|
||||
ebd1c2c64724f5f5e1837e42bae1f5c67a0be4df09b7974c2d6a3d64c8314ea4
|
||||
adeef0711099da7e86c2c20b3fc40e63f32ea1e11ef0b9a98dacfc983f38f4ce"
|
||||
lib32disabled=yes
|
||||
|
@ -41,6 +41,9 @@ pre_configure() {
|
|||
-e "s#\(SET(CMAKE_INSTALL_PREFIX\) .*#\1 /usr/share/cdogs)#" \
|
||||
-e "s#\(set(CDOGS_DATA_DIR\) .*#\1 /usr/share/cdogs/)#" \
|
||||
CMakeLists.txt
|
||||
|
||||
# workaround bug
|
||||
ln -rs build build/build
|
||||
}
|
||||
|
||||
post_configure() {
|
||||
|
@ -49,9 +52,4 @@ post_configure() {
|
|||
|
||||
post_install() {
|
||||
mv $DESTDIR/usr/share/cdogs/bin $DESTDIR/usr/bin
|
||||
mkdir $DESTDIR/usr/share/applications
|
||||
mv $DESTDIR/usr/bin/*desktop $DESTDIR/usr/share/applications/
|
||||
mkdir $DESTDIR/usr/share/pixmaps
|
||||
mv $DESTDIR/usr/bin/*png $DESTDIR/usr/share/pixmaps
|
||||
rm -r $DESTDIR/usr/games
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue