diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2008-12-11 07:06:21 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2008-12-11 07:06:21 (GMT) |
commit | e019db2c0c29ab1e825f983987275b3b1a597d4f (patch) | |
tree | 68657226c37db0910792a475ac8b00247efd568f | |
parent | 54e39512d743caf5afe2f587536135c450ea4fcf (diff) | |
download | linhes_pkgbuild-e019db2c0c29ab1e825f983987275b3b1a597d4f.zip linhes_pkgbuild-e019db2c0c29ab1e825f983987275b3b1a597d4f.tar.gz linhes_pkgbuild-e019db2c0c29ab1e825f983987275b3b1a597d4f.tar.bz2 |
Fixed LinHES-release. PKGBUILD for MythAppleTrailers.
-rw-r--r-- | abs/core-testing/LinHES-config/LinHES-release | 4 | ||||
-rw-r--r-- | abs/extra-testing/mythappletrailers/PKGBUILD | 26 | ||||
-rw-r--r-- | abs/extra-testing/mythappletrailers/mythappletrailers.install | 17 | ||||
-rwxr-xr-x | abs/extra-testing/mythappletrailers/trailers | 2 |
4 files changed, 45 insertions, 4 deletions
diff --git a/abs/core-testing/LinHES-config/LinHES-release b/abs/core-testing/LinHES-config/LinHES-release index fc10c90..0e9e72b 100644 --- a/abs/core-testing/LinHES-config/LinHES-release +++ b/abs/core-testing/LinHES-config/LinHES-release @@ -1,5 +1 @@ -<<<<<<< HEAD:abs/core-testing/LinHES-config/LinHES-release -LinHES R6.00.05 -======= LinHES R6.00.04 ->>>>>>> origin/HEAD:abs/core-testing/LinHES-config/LinHES-release diff --git a/abs/extra-testing/mythappletrailers/PKGBUILD b/abs/extra-testing/mythappletrailers/PKGBUILD new file mode 100644 index 0000000..73f7add --- /dev/null +++ b/abs/extra-testing/mythappletrailers/PKGBUILD @@ -0,0 +1,26 @@ +# $Id: PKGBUILD 5936 2008-07-21 20:24:16Z thomas $ +# Maintainer: Cecil Watson<knoppmyth@gmail.com> + +pkgname=mythappletrailers +pkgver=0.04.3 +pkgrel=6 +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') +install=mythappletrailers.install +source=('http://colt45.chemlab.org/misc_scripts/mythtrailer/0.4/mythappletrailer-0.04.3.tar' + 'trailers') + +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/ + 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 +} diff --git a/abs/extra-testing/mythappletrailers/mythappletrailers.install b/abs/extra-testing/mythappletrailers/mythappletrailers.install new file mode 100644 index 0000000..22dada0 --- /dev/null +++ b/abs/extra-testing/mythappletrailers/mythappletrailers.install @@ -0,0 +1,17 @@ +# arg 1: the new package version +post_install() { +} + +# arg 1: the new package version +# arg 2: the old package version +post_upgrade() { + ln -s /home/mythtv/appletrailer.xml /usr/share/mythtv/appletrailer.xml +} + +# arg 1: the old package version +post_remove() { +} + +op=$1 +shift +$op $* diff --git a/abs/extra-testing/mythappletrailers/trailers b/abs/extra-testing/mythappletrailers/trailers new file mode 100755 index 0000000..61567ec --- /dev/null +++ b/abs/extra-testing/mythappletrailers/trailers @@ -0,0 +1,2 @@ +#!/bin/sh +su mythtv -c '/usr/bin/php -q /usr/bin/myth_trailers_grabber.php > /home/mythtv/appletrailer.xml' |