serenity/Ports/SDL_sound/package.sh
Tim Schumacher 3908753347 Ports: Fix issues with the libmodplug and SDL_sound ports
- Lock SDL_sound to specific commit
- Convert properties to arrays where required
- Fix depends being called "deps"
2021-10-10 19:11:02 -07:00

19 lines
513 B
Bash
Executable file

#!/usr/bin/env -S bash ../.port_include.sh
port=SDL_sound
version=git
_commit=9dfd90e9aebeb8c29248af673a46507f10e0e893
workdir=SDL_sound-${_commit}
useconfigure=true
depends=("SDL2")
files="https://github.com/icculus/SDL_sound/archive/${_commit}.zip ${_commit}.zip c701f31fcef9238d6a439d94020ce8957aa5aaea29878312dc0b6d1c247d77ca"
auth_type=sha256
configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt")
configure() {
run cmake "${configopts[@]}"
}
install() {
run make install
}