From 77a0796823c4bb2ee6b9387d3ce940d3faa0fbe9 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Fri, 31 Aug 2018 16:43:54 -0300 Subject: [PATCH] cdogs-sdl: update to 0.6.8. --- srcpkgs/cdogs-sdl/template | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/srcpkgs/cdogs-sdl/template b/srcpkgs/cdogs-sdl/template index b935cf9841b..506d3f8e2f7 100644 --- a/srcpkgs/cdogs-sdl/template +++ b/srcpkgs/cdogs-sdl/template @@ -1,25 +1,21 @@ -# Template file for 'cdogs' +# Template file for 'cdogs-sdl' pkgname=cdogs-sdl -version=0.6.7 -revision=2 +version=0.6.8 +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 " +license="GPL-2.0-or-later" 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/" +distfiles="https://github.com/cxong/cdogs-sdl/archive/${version}.tar.gz" +checksum=292091a528203de41d186ed910ef36413a8adb3549c4a864fcb3792b9901a6ff 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