updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / python2-oset / PKGBUILD
blob9ab8de4eb70125ec9a6b8d1116be6c1d8c926000
1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
3 _pkg=oset
4 pkgname=python2-$_pkg
5 pkgver=0.1.1
6 pkgrel=1
7 pkgdesc="A python ordered set library."
8 arch=(any)
9 url="http://pypi.python.org/pypi/oset/0.1.1"
10 license=('GPL')
11 depends=('python2')
12 makedepends=('python2-distribute')
13 source=("http://pypi.python.org/packages/source/o/$_pkg/$_pkg-$pkgver.tar.gz")
14 md5sums=('e22833f259b4a6b91ff89fd371a60cc4')
16 build() {
17   cd "$srcdir/$_pkg-$pkgver"
19   # python2 fixes
20   sed -i "s|\(env python\).*|\12|" `grep -rl "env python" .`
22   python2 setup.py build
25 package() {
26   cd "$srcdir/$_pkg-$pkgver"
28   python2 setup.py install --root="$pkgdir/"
31 # vim:set ts=2 sw=2 et: