Date: Wednesday, April 10, 2019 @ 16:37:33 Author: felixonmars Revision: 450891
addpkg: python-schemdraw 0.4.0-1 Added: python-schemdraw/ python-schemdraw/repos/ python-schemdraw/trunk/ python-schemdraw/trunk/PKGBUILD ----------+ PKGBUILD | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) Added: python-schemdraw/trunk/PKGBUILD =================================================================== --- python-schemdraw/trunk/PKGBUILD (rev 0) +++ python-schemdraw/trunk/PKGBUILD 2019-04-10 16:37:33 UTC (rev 450891) @@ -0,0 +1,24 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Sequencer <liujiuyang1...@gmail.com> + +pkgname=python-schemdraw +pkgver=0.4.0 +pkgrel=1 +pkgdesc="Electrical circuit schematic drawing." +url="https://bitbucket.org/cdelker/schemdraw" +license=('BSD') +arch=('x86_64') +depends=('python-numpy' 'python-matplotlib') +makedepends=('python-setuptools') +source=("$pkgname-$pkgver.tar.gz::$url/downloads/SchemDraw-$pkgver.tar.gz") +sha512sums=('a43f2e753a50fbeb2d8692060ec30a442a6a0083ca9942eff48dec2a53a00b13c6901f8e119e339777a72c77cea411b8c75ede626d8d5757221afb93843bec65') + +build() { + cd SchemDraw-$pkgver + python setup.py build +} + +package() { + cd SchemDraw-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 +}