summaryrefslogtreecommitdiffstats
path: root/abs/extra/huludesktop/PKGBUILD
blob: d47f165d1344ee10e915b96901622620cad655e9 (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
pkgname=huludesktop
pkgver=0.2
pkgrel=6
pkgdesc="Hulu Desktop for Linux"
arch=(i686 'x86_64')
url="http://www.hulu.com/labs/hulu-desktop-linux"
license=('unknown')
makedepends=('deb2targz')
depends=('glib2' 'gtk2' 'lirc' 'flashplugin' 'linhes-scripts>=7-29' )
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/$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=('d9b27d1837ab86526100964e80c3cdd1'
         '935d923b90abaa4b1838a5e6b23e704e'
         '8f7dbf19d6168bc3a5b0c1da1c878693'
         '36fb8d9af1ff8a0b8634e7dbddaf975f')