From d77878f24a8cfa23eb1b3abbcdac0f0f8c0376c2 Mon Sep 17 00:00:00 2001
From: Cecil Hugh Watson <knoppmyth@gmail.com>
Date: Thu, 1 Jan 2009 23:36:16 -0800
Subject: Updated PKGBUILD to fix Apple trailer grabber.

---
 abs/extra-testing/mythappletrailers/PKGBUILD | 7 ++++---
 abs/extra-testing/mythappletrailers/trailers | 2 +-
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/abs/extra-testing/mythappletrailers/PKGBUILD b/abs/extra-testing/mythappletrailers/PKGBUILD
index 73f7add..e1d8f40 100644
--- a/abs/extra-testing/mythappletrailers/PKGBUILD
+++ b/abs/extra-testing/mythappletrailers/PKGBUILD
@@ -3,7 +3,7 @@
 
 pkgname=mythappletrailers
 pkgver=0.04.3
-pkgrel=6
+pkgrel=7
 pkgdesc="Unofficial Add-on for MythTV to get Apple.com Movie Trailers."
 arch=('i686' 'x86_64')
 license=('GPL2')
@@ -21,6 +21,7 @@ build() {
   touch $startdir/pkg/home/mythtv/appletrailer.xml
   chown 1000:1000 $startdir/pkg/home/mythtv/appletrailer.xml
   chmod 755 trailers
-  chmod 755 myth*/myth*
-  cp trailers $startdir/pkg/etc/cron.daily
+  chmod 755 mythtraler/myth*
+  cp mythtraler/myth_trailers_grabber $startdir/pkg/usr/bin/
+  cp trailers $startdir/pkg/etc/cron.daily/
 }
diff --git a/abs/extra-testing/mythappletrailers/trailers b/abs/extra-testing/mythappletrailers/trailers
index 61567ec..65ac9c2 100755
--- a/abs/extra-testing/mythappletrailers/trailers
+++ b/abs/extra-testing/mythappletrailers/trailers
@@ -1,2 +1,2 @@
 #!/bin/sh
-su mythtv -c '/usr/bin/php -q /usr/bin/myth_trailers_grabber.php > /home/mythtv/appletrailer.xml'
+su mythtv -c '/usr/bin/php -q /usr/bin/myth_trailers_grabber > /home/mythtv/appletrailer.xml'
-- 
cgit v0.12