summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ed8455bddc02d7f889c5abe890b73c79f87fa5b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: thegala <thegala at disroot.org>

_pkgname=kiauto
pkgname=kiauto-git
pkgver=891.f489865
pkgrel=1
arch=('i686' 'x86_64')
pkgdesc="KiCad automation scripts."
url="https://github.com/INTI-CMNB/KiAuto"
license=('Apache2.0')
depends=( 'python' 'kicad' 'xdotool' 'xclip' 'libxslt' 'python-xvfbwrapper')
makedepends=('git' 'python-setuptools')
source=("${_pkgname}::git+https://github.com/INTI-CMNB/KiAuto")
md5sums=('SKIP')
provides=('kiauto')
conflicts=('kiauto')

pkgver()
{
  cd "$_pkgname"
  echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}


package() {
  cd $_pkgname
  python setup.py install --root="$pkgdir"
}