blob: d45d1b7fb5dbfb76ff15ccc89692032099fd774e (
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
32
33
34
35
36
37
38
39
40
|
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
pkgname=mpg123-svn
pkgver=r5325
pkgrel=1
pkgdesc="A fast and free real time MPEG Audio Layer 1, 2 and 3 decoding library and console player"
arch=('i686' 'x86_64')
url="https://www.mpg123.org/"
license=('LGPL')
depends=('glibc' 'alsa-lib')
makedepends=('subversion' 'sdl' 'jack' 'libpulse')
provides=("mpg123=$pkgver")
conflicts=('mpg123')
source=("svn://scm.orgis.org/mpg123/trunk")
sha256sums=('SKIP')
pkgver() {
cd "trunk"
_rev="$(svnversion | sed 's/[^0-9]+//')"
printf "r%s" "$_rev"
}
build() {
cd "trunk"
autoreconf -fi
./configure \
--prefix="/usr" \
--enable-int-quality=yes \
--with-audio="alsa oss sdl jack pulse"
make
}
package() {
cd "trunk"
make DESTDIR="$pkgdir" install
}
|