blob: 350dbcbe701e3db8126cc3611a2b7552c2e883ac (
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
26
27
28
29
30
31
|
# $Id: PKGBUILD 213622 2014-05-27 01:08:45Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>
pkgname=mpg123
pkgver=1.20.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' 'jack' 'libpulse')
optdepends=('sdl: for sdl audio support'
'jack: for jack audio support'
'libpulse: for pulse audio support')
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2{,.sig})
sha1sums=('f8060769e60c88fa2debf6c998773880e57b31a6'
'SKIP')
build() {
cd ${pkgname}-${pkgver}
./configure --prefix=/usr --enable-int-quality --with-module-suffix=.so \
--with-audio="alsa oss sdl jack pulse"
make
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
install -m755 scripts/conplay "${pkgdir}/usr/bin/conplay"
}
|