updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / mpg123-oss / PKGBUILD
blob7389ded745e29c9422c2beac78e4d645f15f5e7e
1 # Note: Normal esd will work fine instead of esd-oss, but esd-oss is the OSS
2 #       version of esd, so... :)  Grab it in the AUR.
4 # Maintainer:  Devin Cofer <ranguvar.archlinux.us>
5 # Contributor: Hugo Doria  <hugo@archlinux.org>
6 # Contributor: William Rea <sillywilly@gmail.com>
8 pkgname=mpg123-oss
9 _pkgname=mpg123
10 pkgver=1.13.2
11 pkgrel=1
12 pkgdesc="A console-based real-time MPEG-1/2/3 audio player (OSS version)"
13 arch=('i686' 'x86_64')
14 url="http://www.mpg123.org/"
15 license=('GPL2' 'LGPL2')
17 makedepends=('esound-oss' 'sdl')
18 depends=('oss')
19 optdepends=('esound-oss: For additional audio support'
20             'sdl: For additional audio support')
22 provides=('mpg321' "mpg123=$pkgver")
23 conflicts=('mpg321' 'mpg123')
24 replaces=('mpg321')
26 source=("http://downloads.sourceforge.net/sourceforge/mpg123/mpg123-$pkgver.tar.bz2")
27 sha256sums=('c4677653adb656e0f15a7b6dafa5c166eeeb1dc6c20b9a9a6d02efa83afc0d01')
30 options=('libtool')
31 build() {
32         cd "$srcdir"/$_pkgname-$pkgver
34         ./configure --prefix=/usr --with-audio="oss esd sdl"
35         make
37 package() {
38         cd "$srcdir"/$_pkgname-$pkgver
40         make DESTDIR="$pkgdir" install