# Template file for 'cdogs' pkgname=cdogs-sdl version=0.6.7 revision=2 build_style=cmake hostmakedepends="pkg-config" makedepends="SDL2-devel SDL2_mixer-devel SDL2_image-devel SDL2_net-devel" depends="cdogs-sdl-data>=${version}_${revision}" short_desc="A classic overhead run-and-gun game" maintainer="Enno Boland " homepage="http://cxong.github.io/cdogs-sdl/" license="GPL-2" distfiles="https://github.com/cxong/cdogs-sdl/archive/$version.tar.gz" checksum=af53c4f45938c4c57f630bc073ea84354ca5a6e26f4e315241a7ba9036c13b52 configure_args="-DCDOGS_DATA_DIR=/usr/share/cdogs/" CFLAGS="-Wno-restrict -Wno-format-truncation -Wno-stringop-overflow -Wno-stringop-truncation -Wno-format-overflow" pre_configure() { sed -i '/appveyor.yml.cmake/ s/^/#/' CMakeLists.txt } cdogs-sdl-data_package() { short_desc+=" - data" noarch=yes pkg_install() { vmove usr/share/cdogs } }