mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
7kaa: more correct install steps
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user