1 # Maintainer: David Spicer <azleifel at googlemail dot com>
2 # Contributor: Franz Burgmann <f dot burgmann at gmail dot com>
9 pkgdesc="A VDR plugin that extends the recordings menu"
10 url="http://projects.vdr-developer.org/projects/show/plg-extrecmenu"
12 depends=('vdr' 'vdrsymbols-ttf')
13 backup=('usr/bin/dvdarchive.sh')
14 source=(http://projects.vdr-developer.org/attachments/download/334/${pkgname}-${pkgver}.tgz)
15 md5sums=('0b83b281462e854936d2192094c04b87')
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}/usr/bin
29 install -d -m755 ${pkgdir}/usr/lib/vdr
30 install -d -m755 ${pkgdir}/usr/share/doc/${pkgname}
31 install -d -m755 ${pkgdir}/usr/share/locale
33 make VDRDIR=/usr/include/vdr \
34 LIBDIR=${pkgdir}/usr/lib/vdr \
35 LOCALEDIR=${pkgdir}/usr/share/locale all
37 # Uncomment lines below to build and install getlength/isodetect utilities
38 #gcc contrib/getlength.c -o getlength
39 #install -m755 getlength ${pkgdir}/usr/bin/getlength
40 #gcc contrib/isodetect.c -o isodetect
41 #install -m755 isodetect ${pkgdir}/usr/bin/isodetect
44 install -m755 scripts/dvdarchive.sh ${pkgdir}/usr/bin/dvdarchive.sh
47 for _file in README HISTORY; do
48 install -m644 ${_file} ${pkgdir}/usr/share/doc/${pkgname}/${_file}