summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d5e0c2db886c4fceaa6fe2d8e927ec61e4563a06 (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
# Maintainer: Ricardo Band <email@ricardo.band>

pkgname=gerbolyze
pkgver=3.0.11
pkgrel=1
pkgdesc="A high-resolution image-to-PCB converter"
arch=('any')
url="https://gerbolyze.jaseg.net/"
license=('AGPL')
depends=("python-numpy" "python-slugify" "python-lxml" "python-click" "python-appdirs" "python-text-unidecode" "resvg-cairo" "python-gerbonara")
makedepends=("python-setuptools")
source=("${pkgname}-${pkgver}::git+https://gitlab.com/gerbolyze/gerbolyze.git#tag=v${pkgver}")
sha256sums=('SKIP')

build() {
  cd "$pkgname-$pkgver"
  git submodule update --init
  python setup.py build
}

package() {
  cd "$pkgname-$pkgver"
  export PYTHONHASHSEED=0
  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}