summaryrefslogtreecommitdiff
path: root/Ports/SDL2_sound/package.sh
blob: 88e62d8edbab4e45771ec8d9f3a5d2dd0e04da99 (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='SDL2_sound'
version='git'
_commit='301135a6d0d9bb77c9da0b7f809e9a10d579610f'
workdir="SDL_sound-${_commit}"
useconfigure='true'
depends=('SDL2')
files="https://github.com/icculus/SDL_sound/archive/${_commit}.zip ${_commit}.zip d29f90dd5abacf9f818f0b1567fab6b3dc6292d0a942e8e8d1e8f84130eea7a1"
auth_type='sha256'
configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt")

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

install() {
    run make install
}