summaryrefslogtreecommitdiff
path: root/Ports/SDL_sound/package.sh
blob: 2d238678a2dbe63853b07397cc049b30b68486b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env -S bash ../.port_include.sh
port=SDL_sound
version=git
_commit=df3fc779774c2c5dc1147239da1af858c88f1a74
workdir=SDL_sound-${_commit}
useconfigure=true
depends=("SDL2")
files="https://github.com/icculus/SDL_sound/archive/${_commit}.zip ${_commit}.zip bf655a03ab96a49c4140e19135433d62893c124330955e85e3dfddbe9963bac2"
auth_type=sha256
configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt")

configure() {
    run cmake "${configopts[@]}"
}

install() {
    run make install
}