#Automatically generated by pip2arch on 2016-03-24 pkgname=python2-stl pkgver=0.0.3 pkgrel=1 pkgdesc="Read and write STL 3D geometry files in both the ASCII and the binary flavor" url="UNKNOWN" depends=('python2' ) makedepends=('python2-distribute' ) license=('MIT') arch=('any') source=("https://pypi.python.org/packages/source/s/stl/stl-${pkgver}.tar.gz") sha256sums=('03a6b58ad52ecf16823b1cf1acf6ef382aa5c0fc1152379f464e284a4f81304b') build() { cd "${srcdir}/stl-${pkgver}" python2 setup.py build } package() { cd "${srcdir}/stl-${pkgver}" python2 setup.py install --root="$pkgdir" --optimize=1 }