cdogs-sdl: update to 1.3.1.

closes #39757
This commit is contained in:
Enno Boland 2022-10-06 12:19:29 +02:00 committed by classabbyamp
parent 12732d47ac
commit df83ad5800
No known key found for this signature in database
GPG Key ID: 6BE0755918A4C7F5

View File

@ -1,18 +1,21 @@
# Template file for 'cdogs-sdl'
pkgname=cdogs-sdl
version=0.11.1
revision=2
version=1.3.1
revision=1
build_style=cmake
configure_args="-DCDOGS_DATA_DIR=/usr/share/cdogs/"
configure_args="
-DCMAKE_INSTALL_PREFIX=/usr/share/cdogs-sdl/
-DCDOGS_DATA_DIR=/usr/share/cdogs-sdl/
"
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/"
homepage="https://cxong.github.io/cdogs-sdl/"
distfiles="https://github.com/cxong/cdogs-sdl/archive/${version}.tar.gz"
checksum=9c077b363859f22e5701f9fe1a0b3cf5f9e3464cf7110942f8ad7e70e833d6b1
checksum=3b863a092b23da8b210383831ff490a10dd6fda77b997fe2bf39cedcfa0a8937
replaces="cdogs-sdl-data<=0.7.3"
CFLAGS="-fcommon"
@ -20,3 +23,8 @@ CFLAGS="-fcommon"
pre_configure() {
vsed -i CMakeLists.txt -e "s; -Werror;;"
}
post_install() {
mv "$DESTDIR"/usr/share/cdogs-sdl/bin/ "$DESTDIR"/usr/bin/
mv "$DESTDIR"/usr/share/cdogs-sdl/share/* "$DESTDIR"/usr/share/
}