updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / esound / PKGBUILD
bloba15888e30871c519eb7985311e2d75976f32819c
1 # Maintainer : SpepS <dreamspepser at yahoo dot it>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
4 pkgname=esound
5 pkgver=0.2.41
6 pkgrel=3
7 pkgdesc="Enlightened Sound Daemon"
8 arch=(i686 x86_64)
9 url="http://www.tux.org/~ricdude/EsounD.html"
10 license=('LGPL')
11 depends=('audiofile')
12 provides=("esd=$pkgver")
13 replaces=('esd')
14 conflicts=('esd')
15 backup=('etc/esd.conf')
16 options=('!libtool')
17 source=("http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2"
18         esd.sh)
19 md5sums=('8d9aad3d94d15e0d59ba9dc0ea990c6c'
20          'a4c76e7c7f75b201ea7ab6fb15b47472')
22 build() {
23   cd "$srcdir/$pkgname-$pkgver"
25   # alsa drain fix
26   sed -i 's/drain/drop/' audio_alsa09.c
28   ./configure --prefix=/usr \
29               --sysconfdir=/etc \
30               --localstatedir=/var \
31               --disable-static \
32               --with-audiofile \
33               --without-libwrap \
34               --enable-alsa \
35               --disable-artstest
36   make CFLAGS="$CFLAGS -lm"
39 package() {
40   cd "$srcdir/$pkgname-$pkgver"
42   make DESTDIR="$pkgdir/" install
44   # daemon
45   install -Dm755 ../esd.sh "$pkgdir/etc/rc.d/esd"