blob: e0482cb216b6c05c6bdf1a3b149d7c678e86f483 (
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
29
30
31
32
33
34
|
# Maintainer: thegala <thegala at disroot.org>
_pkgname=pcbdraw
pkgname=pcbdraw-git
pkgver=381.4cfcc70
pkgrel=1
arch=('i686' 'x86_64')
pkgdesc="Convert your KiCAD boards into nice looking 2D drawings suitable for pinout diagrams."
url="https://github.com/INTI-CMNB/pcbdraw"
license=('Apache2.0')
depends=('python' 'kicad' 'python-svgpathtools' 'python-pcbnewtransition' 'python-mistune')
makedepends=('git' 'python' 'python-setuptools' 'python-pip')
source=("${_pkgname}::git+https://github.com/INTI-CMNB/pcbdraw")
md5sums=('SKIP')
provides=('pcbdraw')
conflicts=('pcbdraw')
prepare() {
cd "${srcdir}/${_pkgname}"
git submodule update --init
}
pkgver()
{
cd "$_pkgname"
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}
package() {
cd $_pkgname
python setup.py install --root="$pkgdir"
}
|