mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 20:20:06 +02:00
Widelands: bump to release version
This commit is contained in:
@@ -8,10 +8,9 @@ HOMEPAGE="https://www.widelands.org/"
|
||||
COPYRIGHT="2009-2021 By the Widelands Development Team"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
srcGitRev="af1afc6d80af17b992570039de3b33ca65eedb98"
|
||||
SOURCE_URI="https://github.com/widelands/widelands/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="1347f5f76c45ef8d71cd9ff85b57281e5a09bddbbcbaebb1fa31f9ff8541ac80"
|
||||
SOURCE_DIR="widelands-$srcGitRev"
|
||||
SOURCE_URI="https://github.com/widelands/widelands/archive/refs/tags/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="1dab0c4062873cc72c5e0558f9e9620b0ef185f1a78923a77c4ce5b9ed76031a"
|
||||
SOURCE_DIR="widelands-$portVersion"
|
||||
PATCHES="widelands-$portVersion.patchset"
|
||||
ADDITIONAL_FILES="widelands.rdef.in"
|
||||
|
||||
@@ -20,7 +19,7 @@ SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
widelands$secondaryArchSuffix = $portVersion
|
||||
app:WideLands$secondaryArchSuffix
|
||||
app:WideLands
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
@@ -66,6 +65,7 @@ BUILD_PREREQUIRES="
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
cmd:python3
|
||||
"
|
||||
|
||||
BUILD()
|
||||
@@ -95,7 +95,7 @@ INSTALL()
|
||||
|
||||
local APP_SIGNATURE="application/x-vnd.widelands"
|
||||
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
|
||||
local MIDDLE="`echo "$portVersion" | cut -d. -f2 | cut -d~ -f1`"
|
||||
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
|
||||
local LONG_INFO="$SUMMARY"
|
||||
sed \
|
||||
-e "s|@APP_SIGNATURE@|$APP_SIGNATURE|" \
|
||||
Reference in New Issue
Block a user