serenity/Ports/hatari/package.sh

27 lines
594 B
Bash
Raw Permalink Normal View History

#!/usr/bin/env -S bash ../.port_include.sh
port='hatari'
useconfigure='true'
2023-08-13 07:03:29 +00:00
version='2.4.1'
depends=(
'SDL2'
'zlib'
)
configopts=(
"-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt"
)
2023-07-10 11:10:29 +00:00
files=(
"https://github.com/hatari/hatari/archive/refs/tags/v${version}.tar.gz#68c5edbe60db7a83e6e9b427eaac1136b62653846d64e415850e88d9a6a2cbc2"
2023-07-10 11:10:29 +00:00
)
launcher_name='Hatari'
launcher_category='&Games'
launcher_command='/usr/local/bin/hatari'
2023-08-13 07:12:42 +00:00
icon_file='share/icons/hicolor/32x32/apps/hatari.png'
configure() {
run cmake "${configopts[@]}"
}
install() {
run make install
}