1 # Contributor: azleifel <azleifel at googlemail dot com>
2 # Maintainer: dongiovanni <dongiovanni at archlinux.de>
7 pkgdesc="Combined DVB receiver, Digital Video Recorder and streaming server for Linux"
9 url="http://www.lonelycoder.com/hts/"
13 optdepends=('xmltv: For an alternative source of programme listings')
14 install=tvheadend.install
15 source=(http://www.lonelycoder.com/debian/dists/hts/main/source/${pkgname}_${pkgver}.tar.gz rc-tvheadend conf-tvheadend)
16 md5sums=('a2b5506ae52dc7338fca86f0df1291da'
17 '58b08cf1849d4a24702bb988199d5dff'
18 '582ec0146ffed0cb5a3409aeececc31e')
21 cd ${srcdir}/${pkgname}-${pkgver}
22 ./configure --prefix=/usr --release
27 cd ${srcdir}/${pkgname}-${pkgver}
28 # Installation has to be done manually
29 install -D -m755 build.Linux/tvheadend ${pkgdir}/usr/bin/tvheadend
30 # Install rc-script and config
31 install -D -m755 ${srcdir}/rc-tvheadend ${pkgdir}/etc/rc.d/tvheadend
32 install -D -m755 ${srcdir}/conf-tvheadend ${pkgdir}/etc/conf.d/tvheadend
34 install -D -m644 man/tvheadend.1 ${pkgdir}/usr/share/man/man1/tvheadend.1