summaryrefslogtreecommitdiff
path: root/~xihh/python2-brownie/PKGBUILD
blob: 85f77baf84128ea013b643caf0ac7a193e174690 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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"
}