updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / hts-tvheadend / PKGBUILD
blob18596dd105a1e6fd5d8d97b0b0fc5437b326f053
1 # Contributor: azleifel <azleifel at googlemail dot com>
2 # Maintainer: dongiovanni <dongiovanni at archlinux.de>
4 pkgname=hts-tvheadend
5 pkgver=2.12
6 pkgrel=1
7 pkgdesc="Combined DVB receiver, Digital Video Recorder and streaming server for Linux"
8 arch=('i686' 'x86_64')
9 url="http://www.lonelycoder.com/hts/"
10 license=('GPL3')
11 depends=('avahi')
12 makedepends=('gzip')
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')
20 build() {
21   cd ${srcdir}/${pkgname}-${pkgver}
22   ./configure --prefix=/usr --release
23   make
26 package() {
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
33   # Install manpage
34   install -D -m644 man/tvheadend.1 ${pkgdir}/usr/share/man/man1/tvheadend.1