1 # Maintainer : SpepS <dreamspepser at yahoo dot it>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
7 pkgdesc="Enlightened Sound Daemon"
9 url="http://www.tux.org/~ricdude/EsounD.html"
12 provides=("esd=$pkgver")
15 backup=('etc/esd.conf')
17 source=("http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2"
19 md5sums=('8d9aad3d94d15e0d59ba9dc0ea990c6c'
20 'a4c76e7c7f75b201ea7ab6fb15b47472')
23 cd "$srcdir/$pkgname-$pkgver"
26 sed -i 's/drain/drop/' audio_alsa09.c
28 ./configure --prefix=/usr \
30 --localstatedir=/var \
36 make CFLAGS="$CFLAGS -lm"
40 cd "$srcdir/$pkgname-$pkgver"
42 make DESTDIR="$pkgdir/" install
45 install -Dm755 ../esd.sh "$pkgdir/etc/rc.d/esd"