summaryrefslogtreecommitdiffstats
path: root/abs/extra/huludesktop/PKGBUILD
diff options
context:
space:
mode:
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