1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-29 14:57:35 +00:00

Ports: Add a ClassiCube port

This commit is contained in:
cflip 2022-10-15 10:24:29 -06:00 committed by Linus Groh
parent fea43a647f
commit 75d46e0e96
5 changed files with 225 additions and 0 deletions

26
Ports/ClassiCube/package.sh Executable file
View file

@ -0,0 +1,26 @@
#!/usr/bin/env -S bash ../.port_include.sh
port='ClassiCube'
version='1.3.3'
files="https://github.com/UnknownShadow200/ClassiCube/archive/refs/tags/${version}.tar.gz ClassiCube-${version}.tar.gz f90acfeb82fd440ead6e086694d99bd1583b0174da1801687c4c3d0fcb21d83d"
auth_type='sha256'
workdir="${port}-${version}/src/"
depends=(
'SDL2'
'curl'
'libopenal'
)
launcher_name='ClassiCube'
launcher_category='Games'
launcher_workdir='/home/anon/Games/ClassiCube'
launcher_command='/usr/local/bin/ClassiCube'
makeopts+=(
'ClassiCube'
'PLAT=serenity'
)
install() {
run mkdir -p ${SERENITY_INSTALL_ROOT}/home/anon/Games/ClassiCube
run cp ClassiCube ${SERENITY_INSTALL_ROOT}/usr/local/bin
}