1 # Contributor: Franz Burgmann <f dot burgmann at gmail dot com>
2 # Maintainer: David Spicer <azleifel at googlemail dot com>
9 pkgdesc="A VDR plugin that allows VDR to be used with budget cards"
10 url="http://sourceforge.net/projects/xine/"
12 depends=('vdr' 'xine-lib-vdr')
13 makedepends=('pkgconfig')
14 install=${pkgname}.install
15 source=(http://home.vrweb.de/rnissl/${pkgname}-${pkgver}.tgz
17 md5sums=('0374123d6991f55d91122b020361d8f6'
18 '20080b5e0aa3e848d56d363e4a7fdf95')
21 cd "${srcdir}/${_pluginname}-${pkgver}"
23 # Assumed VDR directory environment (VDRDIR/Make.config):
24 # MANDIR = /usr/share/man
26 # LOCDIR = /usr/share/locale
27 # PLUGINLIBDIR = /usr/lib/vdr
28 # VIDEODIR = /var/spool/video
31 install -d -m755 "${pkgdir}/etc/vdr/plugins/${_pluginname}"
32 install -d -m755 "${pkgdir}/usr/lib/vdr"
33 install -d -m755 "${pkgdir}/usr/share/doc/${pkgname}"
34 install -d -m755 "${pkgdir}/usr/share/locale"
36 make VDRDIR="/usr/include/vdr" \
37 LIBDIR="${pkgdir}/usr/lib/vdr" \
38 LOCALEDIR="${pkgdir}/usr/share/locale" all
40 cp -Rp data/* "${pkgdir}/etc/vdr/plugins/xine"
43 for _file in README HISTORY MANUAL; do
44 install -m644 "${_file}" "${pkgdir}/usr/share/doc/${pkgname}"
47 # Install homebrew desktop file
48 install -D -m644 "${startdir}/vdr-xine.desktop" "${pkgdir}/usr/share/applications/vdr-xine.desktop"