From dce79f108e3ed7ee5387c3ce0fed037d0e8647cf Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Sat, 3 May 2014 23:21:39 +0200 Subject: [PATCH] cdogs-sdl: update to 0.5.5 --- srcpkgs/cdogs-sdl/template | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/srcpkgs/cdogs-sdl/template b/srcpkgs/cdogs-sdl/template index c9ca604660e..f8d81a0eb46 100644 --- a/srcpkgs/cdogs-sdl/template +++ b/srcpkgs/cdogs-sdl/template @@ -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 " 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 }