summaryrefslogtreecommitdiffstats
path: root/abs/extra/mythappletrailers/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-12-13 19:11:45 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-12-13 19:11:45 (GMT)
commit64ad3bbea8f3e810267c71dec78a00bfd3f00672 (patch)
tree333826644acb1fc6c2d54f346e7aa381d9698740 /abs/extra/mythappletrailers/PKGBUILD
parentd0bc5cf5bca845df25ac398b97995d2d1335f1ca (diff)
downloadlinhes_pkgbuild-64ad3bbea8f3e810267c71dec78a00bfd3f00672.zip
linhes_pkgbuild-64ad3bbea8f3e810267c71dec78a00bfd3f00672.tar.gz
linhes_pkgbuild-64ad3bbea8f3e810267c71dec78a00bfd3f00672.tar.bz2
mythappletrails: fixup a merge gone bad. This adds the playall/random menus and also fixes the loading.sh file
Diffstat (limited to 'abs/extra/mythappletrailers/PKGBUILD')
-rw-r--r--abs/extra/mythappletrailers/PKGBUILD35
1 files changed, 23 insertions, 12 deletions
diff --git a/abs/extra/mythappletrailers/PKGBUILD b/abs/extra/mythappletrailers/PKGBUILD
index 57b6b72..140c8b7 100644
--- a/abs/extra/mythappletrailers/PKGBUILD
+++ b/abs/extra/mythappletrailers/PKGBUILD
@@ -3,27 +3,30 @@
pkgname=mythappletrailers
pkgver=0.04.3
-pkgrel=45
+pkgrel=46
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'
-'play_trailer.sh' 'gen_trailer_menu.sh' 'all_trailers' 'shuffle_trailers')
-
+source=('myth_trailers_grabber' 'appletrailer.xml'\
+ 'trailers' 'loading.sh' 'fix_aple_url.sh'\
+ 'play_trailer.sh' 'gen_trailer_menu.sh'\
+ 'all_trailers' 'shuffle_trailers'\
+ 'appletrailers_is.conf')
+#. /usr/MythVantage/bin/install_functions.sh
build() {
+ MYTHHOME="/home/mythtv"
mkdir -p $startdir/pkg/usr/bin
mkdir -p $startdir/pkg/etc/cron.daily
- mkdir -p $startdir/pkg/home/mythtv/
+ mkdir -p $startdir/pkg/$MYTHHOME
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
+ cp appletrailer.xml $startdir/pkg/$MYTHHOME/appletrailer.xml
+ chown 1000:1000 $startdir/pkg/$MYTHHOME/appletrailer.xml
chmod 755 trailers
chmod 755 myth_trailers_grabber
- chmod 755 loading.sh
+ 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/
@@ -32,14 +35,22 @@ build() {
install -m755 $srcdir/gen_trailer_menu.sh $pkgdir/usr/bin
install -m644 $srcdir/all_trailers $pkgdir/home/mythtv
install -m644 $srcdir/shuffle_trailers $pkgdir/home/mythtv
- chown 1000:1000 $startdir/pkg/home/mythtv/*_trailers
+ chown 1000:1000 $startdir/pkg/$MYTHHOME/*_trailers
+
+ #add in file for gen_is.xml
+ install -D -m0744 ${srcdir}/appletrailers_is.conf ${pkgdir}/etc/gen_is_xml.d/appletrailers_is.conf
}
+
+
+
+
md5sums=('336e68953d0e1e8a0c7a4990f8d43a2b'
'be0d071981e5536f24aaf67545a96cc5'
'a508f2de763f5bec5b4549885c062c8a'
- 'ece3c5f8a605b6e2270c6f7671705631'
+ 'f072ec9c3d78b107e25039758fd5b378'
'a2349f844e47fd95a672739177ca44ff'
'14f153c1efa7ae4e192d87010cbf9f7c'
'3e9d8014a0e76e2cf8057291d20c9291'
'7af1e58dfab2772dbb6f339481ae8d5d'
- 'd26681921482cbf334b43f700adf0d29')
+ 'd26681921482cbf334b43f700adf0d29'
+ '341eb4f98b70b51b9420f58051c8df6a')