updated on Wed Jan 18 08:00:29 UTC 2012
[aur-mirror.git] / adesklet-mpdcontroller / PKGBUILD
blobd16817ed0f37f24ec432d37fdf7bfac83c274a5b
1 # Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
2 # Contributor: Stefan Husmann <stefan.husmannt-systems.com>
3 # Contributor: Andrea Scarpino <bash.lnx@gmail.com>
5 pkgname=adesklet-mpdcontroller
6 pkgver=0.0.4
7 pkgrel=4
8 arch=('any')
9 pkgdesc="mpdcontroller adesklet front end for mpd"
10 url="http://adesklets.sourceforge.net/desklets.html"
11 license=('unknown')
12 depends=('adesklets' 'python-mpdclient')
13 groups=('adesklet-desklets')
14 source=(http://www.myfilebin.com/userfiles/cam/mpdcontroller-$pkgver.tar.bz2)
15 md5sums=('7288d37991e8ba64a83bd7ddec8064cb')
17 package(){
18   cd ${srcdir}/mpdcontroller-$pkgver/
20 #Python2 fix
21   sed -i 's_env python_env python2_' mpdcontroller.py
23   install -d ${pkgdir}/usr/share/adesklets/mpdcontroller/images/
24   install -m664 -g adesklets CHANGELOG GNUmakefile README \
25     ${pkgdir}/usr/share/adesklets/mpdcontroller/
26   install -m664 -g adesklets images/* \
27     ${pkgdir}/usr/share/adesklets/mpdcontroller/images/
28   install -m775 -g adesklets mpdcontroller.py \
29     ${pkgdir}/usr/share/adesklets/mpdcontroller/