2021-03-20 21:34:53 +00:00
|
|
|
#!/usr/bin/env -S bash ../.port_include.sh
|
2023-08-13 06:43:24 +00:00
|
|
|
port='vitetris'
|
|
|
|
useconfigure='true'
|
|
|
|
version='0.59.1'
|
2023-07-10 11:10:29 +00:00
|
|
|
files=(
|
2023-09-02 04:32:27 +00:00
|
|
|
"https://github.com/vicgeralds/vitetris/archive/refs/tags/v${version}.tar.gz#699443df03c8d4bf2051838c1015da72039bbbdd0ab0eede891c59c840bdf58d"
|
2023-07-10 11:10:29 +00:00
|
|
|
)
|
2023-08-13 06:43:24 +00:00
|
|
|
configopts=(
|
|
|
|
'--without-xlib'
|
|
|
|
'--without-joystick'
|
|
|
|
'--without-network'
|
|
|
|
)
|
|
|
|
launcher_name='vitetris'
|
2024-01-03 19:34:07 +00:00
|
|
|
launcher_category='&Games'
|
2023-08-13 06:41:33 +00:00
|
|
|
launcher_command='/usr/local/bin/tetris'
|
2023-08-13 06:43:24 +00:00
|
|
|
launcher_run_in_terminal='true'
|
2021-03-20 21:34:53 +00:00
|
|
|
|
|
|
|
configure() {
|
2023-08-13 06:43:24 +00:00
|
|
|
run chmod +x "${configscript}"
|
|
|
|
run "./${configscript}" "${configopts[@]}"
|
2021-03-20 21:34:53 +00:00
|
|
|
}
|