void-packages/srcpkgs/cdogs-sdl/template

26 lines
840 B
Bash

# Template file for 'cdogs-sdl'
pkgname=cdogs-sdl
version=0.6.9
revision=1
build_style=cmake
configure_args="-DCDOGS_DATA_DIR=/usr/share/cdogs/"
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 <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=6f81f528cb6fcc6f72ad67627dc22baeac05d7acec512fee5830224cd06cf9ba
CFLAGS="-Wno-restrict -Wno-format-truncation -Wno-stringop-overflow -Wno-stringop-truncation -Wno-format-overflow"
cdogs-sdl-data_package() {
short_desc+=" - data"
archs=noarch
pkg_install() {
vmove usr/share/cdogs
}
}