# $Id: PKGBUILD 164185 2012-07-27 04:44:49Z eric $ # Maintainer: Eric BĂ©langer pkgname=mpg123 pkgver=1.14.4 pkgrel=1.1 pkgdesc="A console based real time MPEG Audio Player for Layer 1, 2 and 3" arch=('i686' 'x86_64' 'mips64el') url="http://sourceforge.net/projects/mpg123" license=('GPL2' 'LGPL2.1') depends=('libltdl' 'alsa-lib') makedepends=('sdl' 'jack' 'libpulse') optdepends=('sdl: for sdl audio support' 'jack: for jack audio support' 'libpulse: for pulse audio support') conflicts=('mpg321') provides=('mpg321') options=('!libtool') source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2{,.sig}) sha1sums=('9f53e27bb40b8df3d3b6df25f5f9a8a83b1fccfe' '28ab232dd9bcec8bbb00026cc60960b719d14fed') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr --enable-int-quality --with-module-suffix=.so \ --with-audio="alsa oss sdl jack pulse" make } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install }