# $Id: PKGBUILD 37200 2009-05-01 03:37:50Z eric $ # Maintainer: Giovanni Scafora <giovanni@archlinux.org> # Contributor: arjan <arjan@archlinux.org> # Contributor: Jason Chu <jchu@xentac.net> pkgname=libshout pkgver=2.2.2 pkgrel=3 pkgdesc="Library for accessing a shoutcast/icecast server" arch=('i686' 'x86_64') depends=('libvorbis' 'libtheora' 'speex') url="http://www.icecast.org/" options=('!libtool' 'force') license=('LGPL') source=(http://downloads.xiph.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz) md5sums=('4f75fc9901c724b712c371c9a1e782d3') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var || return 1 make LDFLAGS+=-lspeex || return 1 make DESTDIR="${pkgdir}" install || return 1 }