# Maintainer: thegala _pkgname=pcbdraw pkgname=pcbdraw-git pkgver=194.99bcecd pkgrel=1 arch=('i686' 'x86_64') pkgdesc="KiCad automation scripts." url="https://github.com/INTI-CMNB/pcbdraw" license=('Apache2.0') depends=('python' 'kicad') makedepends=('git' 'python') source=("${_pkgname}::git+https://github.com/INTI-CMNB/pcbdraw") md5sums=('SKIP') provides=('pcbdraw') conflicts=('pcbdraw') pkgver() { cd "$_pkgname" echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD) } package() { cd $_pkgname python setup.py install --root="$pkgdir" }