From 664e88cbae7b31448d78078ff5e4b5c45467bcf7 Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Thu, 11 May 2023 19:24:37 +0200 Subject: [PATCH] 7kaa: more correct install steps --- games-strategy/7kaa/7kaa-2.15.5.recipe | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/games-strategy/7kaa/7kaa-2.15.5.recipe b/games-strategy/7kaa/7kaa-2.15.5.recipe index 4deb002a9..2ce25b1f2 100644 --- a/games-strategy/7kaa/7kaa-2.15.5.recipe +++ b/games-strategy/7kaa/7kaa-2.15.5.recipe @@ -8,7 +8,7 @@ buildings with spies, or offering opponents money for their kingdom." HOMEPAGE="https://www.7kfans.com/" COPYRIGHT="Enlight Software Ltd." LICENSE="GNU GPL v2" -REVISION="2" +REVISION="3" SOURCE_URI="https://github.com/the3dfxdude/7kaa/releases/download/v$portVersion/7kaa-$portVersion.tar.xz" CHECKSUM_SHA256="350a2681985feb4b71d20677d1a6d11921b9e3d97facbc94e4f020e848d8ab2b" PATCHES="7kaa-$portVersion.patchset" @@ -54,10 +54,11 @@ BUILD() { runConfigure ./configure pkgdatadir=$dataDir/7kaa make $jobArgs - make install } INSTALL() { + make install + # prepare the rdef file local MAJOR="`echo "$portVersion" | cut -d. -f1`" local MIDDLE="`echo "$portVersion" | cut -d. -f2`" @@ -74,9 +75,6 @@ INSTALL() { $portDir/additional-files/7kaa.rdef.in > $portDir/7kaa.rdef mkdir -p $appsDir - mkdir -p $dataDir - - cp -R data/* $dataDir/7kaa mv $binDir/7kaa $appsDir/"Seven Kingdoms"