# $Id: PKGBUILD 5936 2008-07-21 20:24:16Z thomas $ # Maintainer: Cecil Watson<knoppmyth@gmail.com> pkgname=mythexport pkgver=2.2.3 pkgrel=1 pkgdesc="Export MythTV recording to portable media players" arch=('i686' 'x86_64') license=('GPL3') depends=('atomicparsley' 'perl-config-simple' 'perl-net-upnp' 'perl-proc-daemon' 'perl-proc-pid-file') optdepends=('lighttpd: For web based interaction') url="http://www.ubuntuupdates.org/mythexport" source=(https://launchpad.net/ubuntu/natty/+source/${pkgname}/${pkgver}-0ubuntu1/+files/${pkgname}_${pkgver}.orig.tar.gz mythexport.lighttpd.include) install=mythexport.install build() { /bin/true } package() { cd ${srcdir}/${pkgname}-${pkgver} cp -a ./usr ${pkgdir}/ || return 1 # Install lighttpd include file install -D -m644 ${srcdir}/mythexport.lighttpd.include ${pkgdir}/etc/mythexport/mythexport.lighttpd.include # Compress man pages gzip -9 *.1 install -D -m644 mythexport.1.gz ${pkgdir}/usr/share/man/man1/mythexport.1.gz || return 1 install -D -m644 mythimport.1.gz ${pkgdir}/usr/share/man/man1/mythimport.1.gz || return 1 # Standard GPL3 license text already in distro rm -f ${pkgdir}/COPYING } md5sums=('a780c00536a4680ce7d79057658971c8' 'b08404255abcc99a35e9c1ab8e0dec57')