summaryrefslogtreecommitdiff
path: root/Ports/cfunge/package.sh
blob: e3b29a134e6fce65e6cd054506e50ab22050f6b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/env -S bash ../.port_include.sh

port='cfunge'
version='2bc4fb27ade2a816ca9a90a6d9f6958111123fa9'
useconfigure='true'
files="https://codeload.github.com/VorpalBlade/cfunge/zip/${version} cfunge.zip 364994a890ed1083684956db576a2a5cfb94b3117bae868910d6a75111033f55"
auth_type='sha256'

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

build() {
    run make -C build "${makeopts[@]}"
}

install() {
    run cp build/cfunge "${SERENITY_INSTALL_ROOT}/bin"
}