serenity/Ports/cfunge/package.sh

20 lines
475 B
Bash
Raw Normal View History

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