blob: 7d43335b585bf69c2c7fa8bc9ccec1ecd582a5a3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# $Id: PKGBUILD 198415 2013-10-30 14:44:04Z allan $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
pkgname=sdl2_mixer
pkgver=2.0.0
pkgrel=2
pkgdesc="A simple multi-channel audio mixer (Version 2)"
arch=('i686' 'x86_64')
url="http://www.libsdl.org/projects/SDL_mixer"
license=('MIT')
depends=('sdl2' 'libvorbis' 'libmodplug' 'smpeg2' 'flac')
makedepends=('fluidsynth')
optdepends=('fluidsynth: MIDI software synth, replaces built-in timidity')
source=("$url/release/SDL2_mixer-${pkgver}.tar.gz")
md5sums=('65f6d80df073a1fb3bb537fbda031b50')
build() {
cd "${srcdir}/SDL2_mixer-${pkgver}/"
./configure --disable-static --prefix=/usr
make
}
package() {
cd "${srcdir}/SDL2_mixer-${pkgver}/"
make DESTDIR="${pkgdir}" install
install -Dm644 COPYING.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|