summaryrefslogtreecommitdiffstats
path: root/abs/extra/huludesktop/PKGBUILD
blob: 24da2d37b62440805a0bd748c3a68010edab1697 (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
pkgname=huludesktop
pkgver=0.2
pkgrel=5
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')

build() {
    cd $startdir/src
    deb2targz huludesktop_i386.deb
    tar -xzvf huludesktop_i386.tar.gz -C $pkgdir
    mkdir -p $pkgdir/home/mythtv
    mkdir -p $pkgdir/usr/LH/bin
    cp huludesktop $pkgdir/home/mythtv/.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')