mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01:00
Fix rdef mistakes for Nanosaur (#6911)
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
resource app_flags B_MULTIPLE_LAUNCH;
|
||||
resource app_flags B_EXCLUSIVE_LAUNCH | B_ARGV_ONLY;
|
||||
|
||||
resource app_version {
|
||||
major = @MAJOR@,
|
||||
middle = @MIDDLE@,
|
||||
minor = 0,
|
||||
minor = @MINOR@,
|
||||
|
||||
variety = B_APPV_FINAL,
|
||||
internal = 0,
|
||||
|
||||
@@ -5,7 +5,7 @@ sent back in time 20 minutes before a giant asteroid hits the Earth."
|
||||
HOMEPAGE="https://pangeasoft.net/nano"
|
||||
COPYRIGHT="1998 Pangea Software, Inc."
|
||||
LICENSE="CC-BY-NC-SA-4.0"
|
||||
REVISION="4"
|
||||
REVISION="5"
|
||||
|
||||
SOURCE_URI="https://github.com/jorio/Nanosaur/archive/refs/tags/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="5458ed6bf7d58facd7adf30161680546148b2a4e187c336b8af02cb864188da0"
|
||||
@@ -67,11 +67,13 @@ INSTALL()
|
||||
local APP_SIGNATURE="application/x-vnd.nanosaur"
|
||||
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
|
||||
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
|
||||
local MINOR="`echo "$portVersion" | cut -d. -f3`"
|
||||
local LONG_INFO="$SUMMARY"
|
||||
sed \
|
||||
-e "s|@APP_SIGNATURE@|$APP_SIGNATURE|" \
|
||||
-e "s|@MAJOR@|$MAJOR|" \
|
||||
-e "s|@MIDDLE@|$MIDDLE|" \
|
||||
-e "s|@MINOR@|$MINOR|" \
|
||||
-e "s|@LONG_INFO@|$LONG_INFO|" \
|
||||
$portDir/additional-files/nanosaur.rdef.in > $sourceDir/nanosaur.rdef
|
||||
|
||||
|
||||
Reference in New Issue
Block a user