summaryrefslogtreecommitdiff
path: root/Ports/hatari/package.sh
blob: cd89cedbe96b161cd27ba78ac8aa7edc795db296 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/env -S bash ../.port_include.sh
port=hatari
useconfigure=true
version=2.4.0-devel
depends=("SDL2" "zlib")
commit=6a86f054cc560a858bbe60c7529dafe2cf6ec604
workdir="${port}-${commit}"
configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt")
files="https://github.com/hatari/hatari/archive/${commit}.tar.gz ${commit}.tar.gz bcb5d2e3bf3a3f8b34d21565354aa8eb085e3d92eb466c5d28e42e2022e7da3d"
auth_type=sha256
launcher_name=Hatari
launcher_category=Games
launcher_command=hatari

configure() {
    run cmake "${configopts[@]}"
}

install() {
    run make install
}