updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / adesklet-mldonkeycontol / PKGBUILD
blob8f2fa95034b1c78724cda3545b402f063dc4c078
1 # Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
2 # Contributor: Alessio 'mOLOk' Bolognino <themolok@gmail.com>
4 pkgname=adesklet-mldonkeycontol
5 pkgver=0.1.0
6 pkgrel=2
7 pkgdesc="A mldonkey monitoring desklet"
8 arch=('any')
9 license=('GPL')
10 url="http://adesklets.sourceforge.net/desklets.html"
11 depends=('adesklets')
12 groups=('adesklet-desklets')
13 source=(http://downloads.sourceforge.net/sourceforge/adesklets/MldonkeyContol-${pkgver}.tar.bz2)
14 md5sums=('133526d5e876a6b7779e35a03dc34227')
16 package() {
17   cd ${srcdir}/MldonkeyContol-$pkgver
19 #Python2 fix
20   sed -i 's_env python_env python2_' MldonkeyContol.py
22   install -d ${pkgdir}/usr/share/adesklets/mldonkeycontol
23   cp -a ${srcdir}/MldonkeyContol-$pkgver/* ${pkgdir}/usr/share/adesklets/mldonkeycontol/
24   chmod 755 ${pkgdir}/usr/share/adesklets/mldonkeycontol/MldonkeyContol.py
25   chown -R :adesklets ${pkgdir}/usr/share/adesklets/mldonkeycontol