summaryrefslogtreecommitdiffstats
path: root/abs/extra
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
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')
-rw-r--r--abs/extra/huludesktop/PKGBUILD9
-rw-r--r--abs/extra/huludesktop/huludesktop.install4
2 files changed, 8 insertions, 5 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
diff --git a/abs/extra/huludesktop/huludesktop.install b/abs/extra/huludesktop/huludesktop.install
index 360bb4e..e567a48 100644
--- a/abs/extra/huludesktop/huludesktop.install
+++ b/abs/extra/huludesktop/huludesktop.install
@@ -1,7 +1,7 @@
# arg 1: the new package version
post_install() {
gen_is_xml.py
- chown mythtv.mythtv /home/mythtv/.huludesktop
+ chown mythtv.mythtv $MYTHHOME/.huludesktop
}
# arg 1: the new package version
# arg 2: the old package version
@@ -11,6 +11,8 @@ post_upgrade() {
post_remove() {
gen_is_xml.py
}
+. /usr/MythVantage/bin/install_functions.sh
+home_check
op=$1
shift