summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 765f896a470058962f143bfda8941edb2b4e455e (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=379.f984245
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')
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"
}