# $Id$ # Maintainer: Eric BĂ©langer <eric@archlinux.org> pkgname=mpg123 pkgver=1.19.0 pkgrel=1 pkgdesc="A console based real time MPEG Audio Player for Layer 1, 2 and 3" arch=('i686' 'x86_64') url="http://sourceforge.net/projects/mpg123" license=('LGPL2.1') depends=('libltdl' 'alsa-lib') makedepends=('sdl') optdepends=('sdl: for sdl audio support') source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2{,.sig}) sha1sums=('835f8ae489b41ae69fa8c76a0b1e5ee5495ef0ae' 'SKIP') build() { cd ${pkgname}-${pkgver} ./configure --prefix=/usr --enable-int-quality --with-module-suffix=.so \ --with-audio="alsa oss sdl" make } package() { cd ${pkgname}-${pkgver} make DESTDIR="${pkgdir}" install install -m755 scripts/conplay "${pkgdir}/usr/bin/conplay" }