updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / python2-lvm-manager / PKGBUILD
blob8f2144d46d36cda2c9a8a589ec57e1358143e731
1 # Contributor: Jérôme Poulin <jeromepoulin@gmail.com>
3 pkgname=python2-lvm-manager
4 pkgver=0.1
5 pkgrel=0
6 pkgdesc="PyGTK GUI application to manage LVM using python-lvm."
7 arch=('i686' 'x86_64')
8 url="http://code.google.com/p/python-lvm/"
9 license=('BSD')
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')
14 build() {
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
22 package() {
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: