updated on Fri Jan 13 04:01:25 UTC 2012
[aur-mirror.git] / etk-docking / PKGBUILD
blob03328b6f56e25617c8409a0b521b1e5fb7f2c68e
1 # Maintainer : SpepS <dreamspepser at yahoo dot it>
2 # Contributor: Cilyan Olowen <gaknar@gmail.com>
3 # Contributor: G_Syme
4 # Contributor: encelo
6 _name=etk.docking
7 pkgname=etk-docking
8 pkgver=0.2
9 pkgrel=1
10 pkgdesc="PyGTK Docking Widgets"
11 arch=('any')
12 url="http://pypi.python.org/pypi/etk.docking"
13 license=('GPL3' 'LGPL3')
14 depends=('pygtk')
15 makedepends=('python2-distribute')
16 source=("http://pypi.python.org/packages/source/e/$_name/$_name-$pkgver.tar.gz")
17 md5sums=('ec6249aee6cd210bbdffd7bbe839e0a1')
19 build() {
20   cd "$srcdir/$_name-$pkgver"
22   python2 setup.py build
25 package() {
26   cd "$srcdir/$_name-$pkgver"
28   python2 setup.py install --root="$pkgdir/" \
29                            --install-data=/usr/share/$pkgname
31   # python2 fix
32   sed -i "s/env python/&2/" `grep -rl "env python" "$pkgdir"`