1 # Maintainer: kfgz <kfgz at interia pl>
2 # Contributor: Gilles CHAUVIN <gcnweb at gmail dot com>
7 pkgdesc="A software that allows you to watch and record TV"
8 url="http://xawdecode.sourceforge.net/"
11 conflicts=('xdtv-stable')
13 depends=('curl' 'faac' 'lame' 'libjpeg' 'libtheora' 'libvorbis' 'libxaw' 'libxinerama' \
14 'libxv' 'libxxf86dga' 'libxxf86vm' 'lirc-utils' 'sdl' 'xvidcore' 'zvbi')
15 source=(${pkgname}-${pkgver}.tar.gz::http://sourceforge.net/projects/xawdecode/files/01%20-%20XdTV/${pkgver}%20%28Only%20to%20follow%20the%20FFmpeg%20updates%29/${pkgname}-${pkgver}.tar.gz/download \
17 md5sums=('890a6c98c904326be88d163cdf602018' \
18 '073ae6f584a79f9eaf1236184ff155da')
21 cd ${srcdir}/${pkgname}-${pkgver}
22 ./configure --prefix=/usr \
23 --with-fontdir=/usr/share/fonts/misc \
24 --with-appdefaultsdir=/usr/lib/X11/app-defaults \
30 cd ${srcdir}/${pkgname}-${pkgver}
31 make DESTDIR=${pkgdir} install
33 # Remove unnecessary files
34 rm -f ${pkgdir}/usr/share/fonts/misc/fonts.{dir,scale}
37 mkdir -p ${pkgdir}/usr/share/pixmaps
38 mv ${pkgdir}/usr/share/xdtv/icons/* ${pkgdir}/usr/share/pixmaps
39 rm -rf ${pkgdir}/usr/share/xdtv
42 mkdir -p -m755 ${pkgdir}/usr/share/applications
43 install -m644 ${srcdir}/${pkgname}.desktop ${pkgdir}/usr/share/applications/