cdogs-sdl: fix build
This commit is contained in:
parent
b6f490c711
commit
4e7ea5cf16
1 changed files with 3 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'cdogs'
|
||||
pkgname=cdogs-sdl
|
||||
version=0.6.2
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=cmake
|
||||
hostmakedepends="cmake"
|
||||
makedepends="physfs-devel SDL2-devel SDL2_mixer-devel SDL2_image-devel SDL2_net-devel yajl-devel"
|
||||
|
@ -13,6 +13,8 @@ distfiles="https://github.com/cxong/cdogs-sdl/archive/$version.tar.gz"
|
|||
checksum=d6f421c760b15b706bdfc79ed8d18802dc2e8efeefabb69a31679c9b51f328ab
|
||||
configure_args="-DCDOGS_DATA_DIR=/usr/share/cdogs/"
|
||||
|
||||
CFLAGS="-Wno-error=deprecated-declarations"
|
||||
|
||||
pre_configure() {
|
||||
# Install data to /usr/share/cdogs/ instead of cwd.
|
||||
sed -i '/^set(INSTALL_PREFIX/ s#.*#set(INSTALL_PREFIX "/usr/share/cdogs/")#' CMakeLists.txt
|
||||
|
|
Loading…
Reference in a new issue