mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
Split flare's data package into its own recipe.
I learned that by PulkoMandy's comment on the GCI task to port openarena: "With what you did, there will be one data package for each architecture we compile the game for. This means a waste of space on our servers to store the data several times. The data should be a separate recipe as it is done for the openttd game (see the openttd_sfx recipe for example)."
This commit is contained in:
@@ -19,21 +19,11 @@ PROVIDES="
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
flare_data == $portVersion
|
||||
lib:libsdl$secondaryArchSuffix
|
||||
lib:libsdl_mixer$secondaryArchSuffix
|
||||
lib:libsdl_image$secondaryArchSuffix
|
||||
lib:libsdl_ttf$secondaryArchSuffix
|
||||
"
|
||||
|
||||
SUMMARY_data="Data files for the game Flare"
|
||||
ARCHITECTURES_data="any"
|
||||
|
||||
PROVIDES_data="
|
||||
flare_data = $portVersion
|
||||
"
|
||||
REQUIRES_data="
|
||||
haiku
|
||||
flare_data
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
@@ -63,10 +53,8 @@ BUILD()
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $appsDir $dataDir/flare
|
||||
mkdir -p $appsDir
|
||||
|
||||
cp flare $appsDir
|
||||
cp -r mods $dataDir/flare/
|
||||
packageEntries data $dataDir
|
||||
addAppDeskbarSymlink $appsDir/flare "Flare"
|
||||
}
|
||||
|
||||
36
games-rpg/flare_data/flare_data-0.19.recipe
Normal file
36
games-rpg/flare_data/flare_data-0.19.recipe
Normal file
@@ -0,0 +1,36 @@
|
||||
SUMMARY="Data files for the game Flare"
|
||||
DESCRIPTION="Flare is a single-player 2D action RPG with fast-paced action \
|
||||
and a dark fantasy style."
|
||||
HOMEPAGE="http://flarerpg.org"
|
||||
COPYRIGHT="2010-2013 Clint Bellanger"
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://downloads.sourceforge.net/project/flare-game/Linux/flare.0.19.tar.gz"
|
||||
CHECKSUM_SHA256="c96995fff6b71d44ddeae611b1ae4cd35162655f73088000786d03478f0a924e"
|
||||
SOURCE_DIR="flare.0.19"
|
||||
|
||||
ARCHITECTURES="any"
|
||||
DISABLE_SOURCE_PACKAGE="yes"
|
||||
|
||||
PROVIDES="
|
||||
flare_data = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
true
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $dataDir/flare
|
||||
cp -r mods $dataDir/flare/
|
||||
}
|
||||
Reference in New Issue
Block a user