1 # Contributor: zlowly <zlowly@gmail.com>
7 pkgdesc="Google music box"
9 url="http://code.google.com/p/gmbox/"
11 depends=('python2>=2.6' 'pygtk' 'python-notify')
12 source=(http://gmbox.googlecode.com/files/${_pkgname}-${_pkgver}.tar.gz
13 flashplayer_key.patch)
14 md5sums=('85eeb523abf388c39cc870f15e4f2baf'
15 'cbcc5967c81d0703a725a3dcd172c328')
18 patch -p0 -i flashplayer_key.patch
19 sed -i "s/Exec=.*/Exec=python2 \/usr\/share\/$_pkgname\/$_pkgname.py/" $_pkgname/debian/gmbox.desktop
22 install -d $pkgdir/usr/share/$_pkgname/$pkgname
23 install -d $pkgdir/usr/share/$_pkgname/libgmbox
24 install -d $pkgdir/usr/share/$_pkgname/data/{glade,pixbufs}
25 install -m 0755 $srcdir/$_pkgname/$_pkgname.py $pkgdir/usr/share/$_pkgname
26 install -m 0644 $srcdir/$_pkgname/libgmbox/* $pkgdir/usr/share/$_pkgname/libgmbox
27 install -m 0644 $srcdir/$_pkgname/data/glade/* $pkgdir/usr/share/$_pkgname/data/glade
28 install -m 0644 $srcdir/$_pkgname/data/pixbufs/* $pkgdir/usr/share/$_pkgname/data/pixbufs
29 install -m 0644 $srcdir/$_pkgname/$pkgname/* $pkgdir/usr/share/$_pkgname/$pkgname
30 install -Dm 0644 $srcdir/$_pkgname/debian/gmbox.desktop $pkgdir/usr/share/applications/gmbox.desktop
31 install -Dm 0644 $srcdir/$_pkgname/data/pixbufs/gmbox.png $pkgdir/usr/share/pixmaps/gmbox.png
34 # vim:set ts=2 sw=2 et: