summaryrefslogtreecommitdiffstats
path: root/abs/extra/huludesktop/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-31 00:29:08 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-31 00:29:08 (GMT)
commitdc5579bd32a82a67ad10e66392bea84299d75e44 (patch)
tree33a28366deb72115e8dbf99732e00c8f526f00c1 /abs/extra/huludesktop/PKGBUILD
parent6e15706e19c58829c971048d88417a868f05a454 (diff)
downloadlinhes_pkgbuild-dc5579bd32a82a67ad10e66392bea84299d75e44.zip
linhes_pkgbuild-dc5579bd32a82a67ad10e66392bea84299d75e44.tar.gz
linhes_pkgbuild-dc5579bd32a82a67ad10e66392bea84299d75e44.tar.bz2
huludesktop: remove references to /home/mythtv
Diffstat (limited to 'abs/extra/huludesktop/PKGBUILD')
-rw-r--r--abs/extra/huludesktop/PKGBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/abs/extra/huludesktop/PKGBUILD b/abs/extra/huludesktop/PKGBUILD
index 24da2d3..d47f165 100644
--- a/abs/extra/huludesktop/PKGBUILD
+++ b/abs/extra/huludesktop/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=huludesktop
pkgver=0.2
-pkgrel=5
+pkgrel=6
pkgdesc="Hulu Desktop for Linux"
arch=(i686 'x86_64')
url="http://www.hulu.com/labs/hulu-desktop-linux"
@@ -11,14 +11,15 @@ backup=('home/mythtv/.huludesktop')
install=huludesktop.install
options=('')
source=('http://download.hulu.com/huludesktop_i386.deb' 'huludesktop' 'huludesktop.sh' 'huludesktop_is.conf')
-
+. /usr/MythVantage/bin/install_functions.sh
+home_check
build() {
cd $startdir/src
deb2targz huludesktop_i386.deb
tar -xzvf huludesktop_i386.tar.gz -C $pkgdir
- mkdir -p $pkgdir/home/mythtv
+ mkdir -p $pkgdir/$MYTHHOME
mkdir -p $pkgdir/usr/LH/bin
- cp huludesktop $pkgdir/home/mythtv/.huludesktop
+ cp huludesktop $pkgdir/$MYTHHOME/.huludesktop
install -D -m755 huludesktop.sh ${pkgdir}/usr/LH/bin
#add in file for gen_is.xml
install -D -m0744 ${srcdir}/huludesktop_is.conf ${pkgdir}/etc/gen_is_xml.d/huludesktop_is.conf