mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 08:22:56 +02:00
parent
12732d47ac
commit
df83ad5800
1 changed files with 13 additions and 5 deletions
|
@ -1,18 +1,21 @@
|
||||||
# Template file for 'cdogs-sdl'
|
# Template file for 'cdogs-sdl'
|
||||||
pkgname=cdogs-sdl
|
pkgname=cdogs-sdl
|
||||||
version=0.11.1
|
version=1.3.1
|
||||||
revision=2
|
revision=1
|
||||||
build_style=cmake
|
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"
|
hostmakedepends="pkg-config python3-protobuf protobuf"
|
||||||
makedepends="SDL2-devel SDL2_mixer-devel SDL2_image-devel SDL2_net-devel
|
makedepends="SDL2-devel SDL2_mixer-devel SDL2_image-devel SDL2_net-devel
|
||||||
gtk+3-devel protobuf-devel"
|
gtk+3-devel protobuf-devel"
|
||||||
short_desc="Classic overhead run-and-gun game"
|
short_desc="Classic overhead run-and-gun game"
|
||||||
maintainer="Enno Boland <gottox@voidlinux.org>"
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||||
license="GPL-2.0-or-later"
|
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"
|
distfiles="https://github.com/cxong/cdogs-sdl/archive/${version}.tar.gz"
|
||||||
checksum=9c077b363859f22e5701f9fe1a0b3cf5f9e3464cf7110942f8ad7e70e833d6b1
|
checksum=3b863a092b23da8b210383831ff490a10dd6fda77b997fe2bf39cedcfa0a8937
|
||||||
replaces="cdogs-sdl-data<=0.7.3"
|
replaces="cdogs-sdl-data<=0.7.3"
|
||||||
|
|
||||||
CFLAGS="-fcommon"
|
CFLAGS="-fcommon"
|
||||||
|
@ -20,3 +23,8 @@ CFLAGS="-fcommon"
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
vsed -i CMakeLists.txt -e "s; -Werror;;"
|
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/
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue