1 # Contributor: David Spicer <azleifel at googlemail dot com>
8 pkgdesc="An RSS Reader plugin for the Video Disk Recorder (VDR)"
9 url="http://www.saunalahti.fi/rahrenbe/vdr/rssreader/"
11 depends=('vdr' 'curl' 'expat')
12 backup=('etc/vdr/plugins/rssreader/rssreader.conf')
13 install=${pkgname}.install
14 source=(http://www.saunalahti.fi/rahrenbe/vdr/rssreader/files/${pkgname}-${pkgver}.tgz)
15 md5sums=('e42f32de5a9f0e5ff333023e15389ee2')
18 cd ${srcdir}/${_pluginname}-${pkgver}
20 # Assumed VDR directory environment (VDRDIR/Make.config):
21 # MANDIR = /usr/share/man
23 # LOCDIR = /usr/share/locale
24 # PLUGINLIBDIR = /usr/lib/vdr
25 # VIDEODIR = /var/spool/video
28 install -d -m755 ${pkgdir}/etc/vdr/plugins/${_pluginname} || return 1
29 install -d -m755 ${pkgdir}/usr/lib/vdr || return 1
30 install -d -m755 ${pkgdir}/usr/share/doc/${pkgname} || return 1
31 install -d -m755 ${pkgdir}/usr/share/locale || return 1
33 make VDRDIR=/usr/include/vdr \
34 LIBDIR=${pkgdir}/usr/lib/vdr \
35 LOCALEDIR=${pkgdir}/usr/share/locale all || return 1
37 # Install configuration file
38 install -m644 rssreader/rssreader.conf ${pkgdir}/etc/vdr/plugins/${_pluginname} || return 1
41 for _file in README HISTORY; do
42 install -m644 ${_file} ${pkgdir}/usr/share/doc/${pkgname}/${_file##*/} || return 1