1 # Maintainer: Maxime Gauduin <alucryd@archlinux.org>
2 # Contributor: carstene1ns <arch.carsten@teibes.de>
3 # Contributor: Jameson Pugh <imntreal@gmail.com>
4 # Contributor: Sven-Hendrik Haase <sh@lutzhaase.com>
6 pkgname=lib32-sdl2_mixer
9 pkgdesc='A simple multi-channel audio mixer'
11 url=https://github.com/libsdl-org/SDL_mixer
26 optdepends=('lib32-fluidsynth: MIDI software synth, replaces built-in timidity')
27 _tag=6103316427a8479e5027e41ab9948bebfc1c3c19
28 source=(git+https://github.com/libsdl-org/SDL_mixer.git#tag=${_tag})
38 git describe --tags | sed 's/^release-//'
45 export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
54 make DESTDIR="${pkgdir}" -C SDL_mixer install
55 rm -rf "${pkgdir}"/usr/include
56 install -dm 755 "${pkgdir}"/usr/share/licenses
57 ln -s sdl2_mixer "${pkgdir}"/usr/share/licenses/lib32-sdl2_mixer