1 # Contributor: Jérôme Poulin <jeromepoulin@gmail.com>
3 pkgname=python2-lvm-manager
6 pkgdesc="PyGTK GUI application to manage LVM using python-lvm."
8 url="http://code.google.com/p/python-lvm/"
10 depends=('python2' 'python2-distribute' 'python2-lvm' 'gnome-python' 'pygoocanvas')
11 source=(http://python-lvm.googlecode.com/files/python-lvm-manager-$pkgver.tar.gz)
12 md5sums=('8ae36774f2b587aff8d8c579e422638e')
15 cd "$srcdir/python-lvm-manager-$pkgver/"
16 # Use Gnome theme instead of Ubuntu's.
17 sed -r -i -e 's:/icons/Human/:/icons/gnome/:' src/lvmman/gui/main.py
18 sed -r -i -e 's:/env python:/env python2:' src/lvmman/lvm-manager.py
19 python2 ./setup.py install --root="$pkgdir/" --optimize=1
23 install -D -m755 "$srcdir/python-lvm-manager-$pkgver/src/lvmman/lvm-manager.py" "$pkgdir/usr/bin/lvm-manager.py"
26 # vim:set ts=2 sw=2 et: