1 # Maintainer: Sebastien Luttringer <seblu+arch@seblu.net>
6 pkgdesc='KH branche extends the offical release of Icecast with new features and bug fixes.'
8 url='http://www.xiphicecast.webspace.virginmedia.com'
10 conflict=('icecast' 'icecast-svn')
11 provides=("icecast=${pkgver/_*}")
12 depends=('openssl' 'libxml2' 'libxslt' 'libvorbis' 'libogg' 'libtheora' 'speex' 'curl')
13 optdepends=('ices-kh: client for icecast server')
14 backup=('etc/icecast.xml' 'etc/logrotate.d/icecast')
15 source=("http://www.xiphicecast.webspace.virginmedia.com/${pkgname/-*}-${pkgver//_/-}.tar.gz" 'logrotate' 'rc.d')
16 md5sums=('9cd02f382ca804a986271306a7557fd3'
17 '59c6552bcb1dd9fb542af8670dfabd3c'
18 '8bec8be276a9204bf26fe51a5855e626')
21 cd ${pkgname/-*}-${pkgver//_/-}
22 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
27 cd ${pkgname/-*}-${pkgver//_/-}
28 make DESTDIR="$pkgdir" install
31 install -D -m 755 "${srcdir}/rc.d" "${pkgdir}/etc/rc.d/icecast"
34 install -D -m 644 "${srcdir}/logrotate" "${pkgdir}/etc/logrotate.d/icecast"
37 install -d -o root -g log -m 750 "${pkgdir}/var/log/icecast"
40 # vim:set ts=2 sw=2 ft=sh et: