vp-build/srcpkgs/cdogs-sdl/template

23 lines
732 B
Bash

# Template file for 'cdogs-sdl'
pkgname=cdogs-sdl
version=0.11.1
revision=2
build_style=cmake
configure_args="-DCDOGS_DATA_DIR=/usr/share/cdogs/"
hostmakedepends="pkg-config python3-protobuf protobuf"
makedepends="SDL2-devel SDL2_mixer-devel SDL2_image-devel SDL2_net-devel
gtk+3-devel protobuf-devel"
short_desc="Classic overhead run-and-gun game"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://cxong.github.io/cdogs-sdl/"
distfiles="https://github.com/cxong/cdogs-sdl/archive/${version}.tar.gz"
checksum=9c077b363859f22e5701f9fe1a0b3cf5f9e3464cf7110942f8ad7e70e833d6b1
replaces="cdogs-sdl-data<=0.7.3"
CFLAGS="-fcommon"
pre_configure() {
vsed -i CMakeLists.txt -e "s; -Werror;;"
}