summaryrefslogtreecommitdiffstats
path: root/abs/extra/huludesktop/PKGBUILD
blob: c896f7ed2ab00fb71b244a8a17aee60f6d11ff0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
pkgname=huludesktop
pkgver=0.9.8
pkgrel=1
pkgdesc="Hulu Desktop for Linux"
arch=('x86_64')
url="http://www.hulu.com/labs/hulu-desktop-linux"
license=('custom')
depends=('glib2' 'gtk2' 'lirc' 'flashplugin')
backup=('home/mythtv/.huludesktop')
install=huludesktop.install
options=('')
source=('http://download.hulu.com/huludesktop_amd64.deb' 'huludesktop' 'huludesktop.sh' 'huludesktop_is.conf')
. /usr/MythVantage/bin/install_functions.sh
home_check

package() {
    cd $srcdir
    ar p huludesktop_amd64.deb data.tar.gz | (cd $pkgdir; bsdtar xf -)
    mkdir -p $pkgdir/$MYTHHOME
    mkdir -p $pkgdir/usr/LH/bin
    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 
}

md5sums=('bccc94d7f327989dab2653d254f40869'
         '77b7241a4ec8402ba37f1f1811336ea3'
         '8f7dbf19d6168bc3a5b0c1da1c878693'
         '224ed61a3ecfd6aa37d27d1c71426a3c')