1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-30 02:47:35 +00:00

Ports: Add sam

This commit is contained in:
Timothy 2021-06-03 14:20:09 -07:00 committed by Linus Groh
parent b253b63bb4
commit 65d4ac1c14
3 changed files with 43 additions and 0 deletions

14
Ports/sam/package.sh Executable file
View file

@ -0,0 +1,14 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=SAM
version=c86ea395743b8ea4ad071c2167fd1f7f96648f7b
files="https://github.com/vidarh/SAM/archive/${version}.tar.gz ${version}.tar.gz 1f534245e2c7a096de5f886fd96ea1ad966c4e674c1ed91e0c6a59662e8d6c11"
auth_type=sha256
depends="SDL2"
build() {
run make CC="${CC}"
}
install() {
run cp sam "${SERENITY_INSTALL_ROOT}/usr/local/bin/sam"
}