updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / python2-pkgtools / PKGBUILD
blob5a3bc7d05503e606a5f9a99d41134982c4fd6fcd
1 # $Id$
2 # Maintainer: Fabien Devaux <fdev31 at gmail dot com>
4 pkgname=python2-pkgtools
5 pkgver=0.7.1
6 pkgrel=1
7 pkgdesc="Python packages tools"
8 arch=('any')
9 url="http://pkgtools.readthedocs.org/en/latest/"
10 license=('MIT')
11 depends=('python2')
12 makedepends=('python2-distribute')
13 source=(http://pypi.python.org/packages/source/p/pkgtools/pkgtools-${pkgver}.tar.gz)
14 md5sums=('960c357e118f1f3fa2633124cdd5a62d')
16 build() {
17    cd "${srcdir}/pkgtools-${pkgver}"
18    python2 setup.py build || exit 1
19    python2 setup.py install --root="${pkgdir}" --optimize=1 || exit 1