summaryrefslogtreecommitdiff
path: root/Ports/sfinx/package.sh
blob: 6ee2d4c4e64141938dfcdaff1c29466c37d58d44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/env -S bash ../.port_include.sh
port=sfinx
version="1.1"
files="https://downloads.scummvm.org/frs/extras/Sfinx/sfinx-en-v1.1.zip ${port}-en-v${version}.zip f516b30a046526f78cbc923d8f907d267ab964ccd9b770afc72350e8d467ec4d"
auth_type=sha256
depends="scummvm"
workdir="${port}-en-v${version}"

resource_path="/usr/local/share/games/${port}-${version}"

launcher_name="Sfinx"
launcher_category=Games
launcher_command="/usr/local/bin/scummvm --path=${resource_path} sfinx"

build() {
    :
}

install() {
    target_dir="${SERENITY_INSTALL_ROOT}${resource_path}"
    run_nocd mkdir -p ${target_dir}
    run_nocd cp ${workdir}/* ${target_dir}
}