summaryrefslogtreecommitdiffstats
path: root/abs/extra/huludesktop/PKGBUILD
blob: 15c45b557f7aeec01c9361a2ac5a4d69a4a24dd9 (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
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' 'huludesktop_is.conf')
backup=('home/mythtv/.huludesktop')
install=huludesktop.install
options=('')
source=('http://download.hulu.com/huludesktop_i386.deb' 'huludesktop' 'huludesktop.sh')

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')