summaryrefslogtreecommitdiffstats
path: root/abs/extra/mythappletrailers/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-31 00:29:39 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-31 00:29:39 (GMT)
commit69728241bca2e2e98ce3eabdc6e5e312b9086358 (patch)
treee03ec31219039d999fa606e4231ee0b0f8a4fbe6 /abs/extra/mythappletrailers/PKGBUILD
parent0a726c8a793745770766860c44f79745c19c4c24 (diff)
downloadlinhes_pkgbuild-69728241bca2e2e98ce3eabdc6e5e312b9086358.zip
linhes_pkgbuild-69728241bca2e2e98ce3eabdc6e5e312b9086358.tar.gz
linhes_pkgbuild-69728241bca2e2e98ce3eabdc6e5e312b9086358.tar.bz2
mythappletrailers: remove references to /home/mythtv
Diffstat (limited to 'abs/extra/mythappletrailers/PKGBUILD')
-rw-r--r--abs/extra/mythappletrailers/PKGBUILD12
1 files changed, 7 insertions, 5 deletions
diff --git a/abs/extra/mythappletrailers/PKGBUILD b/abs/extra/mythappletrailers/PKGBUILD
index 56ff18c..e82e49a 100644
--- a/abs/extra/mythappletrailers/PKGBUILD
+++ b/abs/extra/mythappletrailers/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=mythappletrailers
pkgver=0.04.3
-pkgrel=41
+pkgrel=42
pkgdesc="Unofficial Add-on for MythTV to get Apple.com Movie Trailers."
arch=('i686' 'x86_64')
license=('GPL2')
@@ -12,14 +12,16 @@ depends=('php' 'mythtv' 'mplayer-wrapper')
install=mythappletrailers.install
source=('myth_trailers_grabber' 'appletrailer.xml'
'trailers' 'loading.sh' 'fix_aple_url.sh' 'appletrailers_is.conf')
-
+. /usr/MythVantage/bin/install_functions.sh
build() {
+ #This bit of code is used to determine where mythhome is located
+ home_check
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