summaryrefslogtreecommitdiffstats
path: root/abs/extra/mythappletrailers/PKGBUILD
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-09-26 01:57:08 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-09-26 01:57:08 (GMT)
commit7b29169fff9e7c624890c5edffe85def8a293136 (patch)
tree47753889faa3a2063b66d1c7e7681e703eb1b39a /abs/extra/mythappletrailers/PKGBUILD
parentc491dea779dac29afff3578bf8245943817c2339 (diff)
downloadlinhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.zip
linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.gz
linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.bz2
LinHES 6.01.00
Diffstat (limited to 'abs/extra/mythappletrailers/PKGBUILD')
-rw-r--r--abs/extra/mythappletrailers/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/abs/extra/mythappletrailers/PKGBUILD b/abs/extra/mythappletrailers/PKGBUILD
new file mode 100644
index 0000000..9c12971
--- /dev/null
+++ b/abs/extra/mythappletrailers/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 5936 2008-07-21 20:24:16Z thomas $
+# Maintainer: Cecil Watson<knoppmyth@gmail.com>
+
+pkgname=mythappletrailers
+pkgver=0.04.3
+pkgrel=35
+pkgdesc="Unofficial Add-on for MythTV to get Apple.com Movie Trailers."
+arch=('i686' 'x86_64')
+license=('GPL2')
+url="http://www.mythtv.org/wiki/index.php/Myth_Apple_Trailers"
+depends=('php' 'mythtv' 'mplayer-wrapper')
+install=mythappletrailers.install
+source=('myth_trailers_grabber' 'appletrailer.xml'
+'trailers' 'loading.sh' 'fix_aple_url.sh')
+
+build() {
+ mkdir -p $startdir/pkg/usr/bin
+ mkdir -p $startdir/pkg/etc/cron.daily
+ mkdir -p $startdir/pkg/home/mythtv/
+ mkdir -p $startdir/pkg/usr/share/mythtv/
+ cp appletrailer.xml $startdir/pkg/home/mythtv/appletrailer.xml
+ chown 1000:1000 $startdir/pkg/home/mythtv/appletrailer.xml
+ chmod 755 trailers
+ chmod 755 myth_trailers_grabber
+ chmod 755 loading.sh
+ cp myth_trailers_grabber $startdir/pkg/usr/bin/
+ cp loading.sh $startdir/pkg/usr/bin/
+ cp trailers $startdir/pkg/etc/cron.daily/
+ install -m755 $srcdir/fix_aple_url.sh $pkgdir/usr/bin
+}