summaryrefslogtreecommitdiffstats
path: root/abs/extra/huludesktop/PKGBUILD
blob: 6bb69da67793394359bd3fc696a896f9087b26ac (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
pkgname=huludesktop
pkgver=0.2
pkgrel=5
pkgdesc="Hulu Desktop for Linux"
arch=(i686)
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')

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
}
md5sums=('d9b27d1837ab86526100964e80c3cdd1'
         '935d923b90abaa4b1838a5e6b23e704e'
         '8f7dbf19d6168bc3a5b0c1da1c878693')