pkgname=python2-brownie pkgver=0.5.1 pkgrel=1 pkgdesc="Python Utility Library from Pocoo." url="http://packages.python.org/Brownie" depends=('python2') makedepends=('python2-distribute') license=('custom:BSD') arch=('i686' 'x86_64' 'mips64el') source=("http://pypi.python.org/packages/source/B/Brownie/Brownie-$pkgver.tar.gz") md5sums=('c79089d747777f4754656b41998e5685') build() { cd $srcdir/Brownie-$pkgver python2 setup.py build } package() { cd $srcdir/Brownie-$pkgver python2 setup.py install --root="$pkgdir" --optimize=1 install -m644 -D LICENSE.rst "$pkgdir/usr/share/licenses/$pkgname/LICENSE.rst" }