1 # Contributor: David Spicer <azleifel at googlemail dot com>
6 pkgdesc="A runvdr script for VDR"
8 url="http://www.udo-richter.de/vdr/scripts.html"
11 backup=('etc/runvdr.conf')
12 source=(http://www.udo-richter.de/vdr/files/${pkgname}-$pkgver.tgz
13 ${pkgname}-$pkgver.patch)
14 md5sums=('ca95ce455fc6e66fcaa4b3476ecdcffc'
15 '9431f1121f1864d5d0e245e16e61cf30')
18 cd $srcdir/${pkgname}-$pkgver
20 patch -Np1 -i ${startdir}/${pkgname}-$pkgver.patch || return 1
22 install -d -m755 ${pkgdir}/etc/runvdr/conf.d || return 1
23 install -d -m755 ${pkgdir}/usr/bin/ || return 1
24 install -d -m755 ${pkgdir}/usr/share/doc/${pkgname} || return 1
25 install -d -m755 ${pkgdir}/usr/share/${pkgname} || return 1
27 install -m644 runvdr.conf.example ${pkgdir}/etc/runvdr.conf || return 1
28 install -m644 skeleton.example ${pkgdir}/usr/share/${pkgname}
29 install -m755 runvdr-conf.d ${pkgdir}/usr/bin || return 1
30 install -m755 runvdr ${pkgdir}/usr/bin || return 1
33 for _document in README README.de HISTORY; do
34 install -m644 ${_document} ${pkgdir}/usr/share/doc/${pkgname}/${_document} || return 1