serenity/Ports/sam/package.sh
Jelle Raaijmakers d53c602e11 Ports: Set port to match the port's directory
We currently have no valid use case for having a `port` property
different from the directory name the port's residing in. We do have
issues when this is the case when referencing dependencies, so let's
make sure all ports have a sensible `port` property to begin with.
2022-04-03 12:35:14 +01:00

16 lines
419 B
Bash
Executable file

#!/usr/bin/env -S bash ../.port_include.sh
port=sam
version=c86ea395743b8ea4ad071c2167fd1f7f96648f7b
workdir="SAM-${version}"
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"
}