2022-03-24 15:41:48 +01:00
|
|
|
#!/usr/bin/env -S bash ../.port_include.sh
|
|
|
|
|
2022-07-08 03:44:22 +02:00
|
|
|
port='cfunge'
|
|
|
|
version='2bc4fb27ade2a816ca9a90a6d9f6958111123fa9'
|
|
|
|
useconfigure='true'
|
2022-03-24 15:41:48 +01:00
|
|
|
files="https://codeload.github.com/VorpalBlade/cfunge/zip/${version} cfunge.zip 364994a890ed1083684956db576a2a5cfb94b3117bae868910d6a75111033f55"
|
2022-07-08 03:44:22 +02:00
|
|
|
auth_type='sha256'
|
2022-03-24 15:41:48 +01:00
|
|
|
|
2022-07-08 03:44:22 +02:00
|
|
|
configure() {
|
|
|
|
run cmake -B build "${configopts[@]}"
|
2022-03-24 15:41:48 +01:00
|
|
|
}
|
|
|
|
|
2022-07-08 03:44:22 +02:00
|
|
|
build() {
|
|
|
|
run make -C build "${makeopts[@]}"
|
2022-03-24 15:41:48 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
install() {
|
2022-07-08 03:44:22 +02:00
|
|
|
run cp build/cfunge "${SERENITY_INSTALL_ROOT}/bin"
|
2022-03-24 15:41:48 +01:00
|
|
|
}
|