summaryrefslogtreecommitdiffstats
path: root/abs/extra/sdl_sound/PKGBUILD
blob: 87885c247ccbda31a19d7ca9c7b709348a70d85f (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
# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
# Maintainer: dorphell <dorphell@archlinux.org>
pkgname=sdl_sound
pkgver=1.0.1
pkgrel=7
pkgdesc="A library to decode several popular sound file formats, such as .WAV and .MP3"
arch=(i686 x86_64)
depends=('sdl' 'libmikmod' 'libvorbis' 'flac>=1.1.4' 'speex')
source=(http://icculus.org/SDL_sound/downloads/SDL_sound-$pkgver.tar.gz flac.patch)
url="http://icculus.org/SDL_sound/"

build() {
  cd $startdir/src/SDL_sound-$pkgver
  patch -Np1 -i ../flac.patch || return 1
  aclocal
  autoconf
  automake --foreign
  ./configure --prefix=/usr
  make || return 1
  make DESTDIR=$startdir/pkg install
  # libtoolslay
  find $startdir/pkg -name '*.la' -exec rm {} \;
}
md5sums=('49e197ef7c8ab623d0640dc74be43160' '302aa9dc94cc71dd3339ca3177d36e1c')