From adf01c9902c54c8f24774804c551bbdb2ef28e5d Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Sun, 20 Nov 2016 14:01:59 +0100 Subject: [PATCH] games-strategy/wargus: bump to 2.4.1 --- ...gus-2.3.0.exheres-0 => wargus-2.4.1.exheres-0} | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) rename packages/games-strategy/wargus/{wargus-2.3.0.exheres-0 => wargus-2.4.1.exheres-0} (88%) diff --git a/packages/games-strategy/wargus/wargus-2.3.0.exheres-0 b/packages/games-strategy/wargus/wargus-2.4.1.exheres-0 similarity index 88% rename from packages/games-strategy/wargus/wargus-2.3.0.exheres-0 rename to packages/games-strategy/wargus/wargus-2.4.1.exheres-0 index 379e774..1280f1e 100644 --- a/packages/games-strategy/wargus/wargus-2.3.0.exheres-0 +++ b/packages/games-strategy/wargus/wargus-2.4.1.exheres-0 @@ -1,10 +1,8 @@ # Copyright 2016 Julian Ospald # Distributed under the terms of the GNU General Public License v2 -WORK=${WORKBASE}/${PN}_${PV}.orig - +require github [ user="Wargus" tag="v${PV}" ] require cmake [ api=2 ] gtk-icon-cache -require launchpad [ branch=trunk pv=${PV%.*} pnv=${PN}_${PV} suffix=orig.tar.gz ] SUMMARY="Warcraft II for the Stratagus game engine" HOMEPAGE="https://wargus.github.io/" @@ -30,17 +28,16 @@ DEPENDENCIES=" media/cdparanoia [[ description = [ Needed for rip audio CD tracks ] ]] " -REMOTE_IDS+=" sourceforge:${PN} github:Wargus/${PN}" - CMAKE_SRC_CONFIGURE_PARAMS=( - -DGAMEDIR="/usr/$(exhost --target)/bin" -DBINDIR="/usr/$(exhost --target)/bin" - -DSTRATAGUS="/usr/bin/stratagus" - -DSHAREDIR="/usr/share/stratagus/${PN}" - -DICONDIR="/usr/share/icons/hicolor/64x64/apps" + -DDATAROOTDIR="/usr/share" -DDESKTOPDIR="/usr/share/applications" + -DGAMEDIR="/usr/$(exhost --target)/bin" + -DICONDIR="/usr/share/icons/hicolor/64x64/apps" + -DSHAREDIR="/usr/share/stratagus/${PN}" -DENABLE_STRIP=OFF + -DWITH_STORMLIB=OFF ) src_install() {