pkgname=mythtv-status pkgver=0.9.0 pkgrel=5 pkgdesc="displays myth status in motd" #depends=(perl-xml-libxml perl-mime-tools perl-mailtools perl-net-upnp) depends=(perl-xml-libxml perl-mime-parser perl-mailtools perl-net-upnp) arch=('i686') source=(mythtv-status.cron http://www.etc.gen.nz/projects/mythtv/tarballs/$pkgname-$pkgver.tar.gz) install=mythtv-status.install build() { MVDIR=$startdir/pkg/usr/MythVantage/bin mkdir -p $MVDIR cd $startdir/src/$pkgname-$pkgver cd bin cp -p * $MVDIR/ cd $startdir #install -m 0755 mythtv-status $MVDIR/mythtv-status install -m 0755 mythtv-status.cron $MVDIR/mythtv-status.cron }