blob: d88af27d8b698a72b6d83edd348484a45a88338f (
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
|
# Maintainer: <reg-archlinux AT klein DOT tuxli DOT ch>
# Contributor: Caltlgin Stsodaat <contact@fossdaily.xyz>
pkgname=wireviz
_pkgname=WireViz
pkgver=0.4.1
_pkgversuffix=''
pkgrel=1
pkgdesc='Easily document cables, wiring harnesses and connector pinouts'
arch=('any')
url='https://github.com/formatc1702/WireViz'
license=('GPL-3.0')
depends=('python-graphviz' 'python-pillow' 'python-pyaml')
makedepends=('git' 'python-setuptools')
source=("https://github.com/formatc1702/WireViz/archive/refs/tags/v${pkgver}${_pkgversuffix}.tar.gz")
sha256sums=('ec32cc12a363bbbb7ee87960899de1a36fe32362e81e66541a5d56c750cd5680')
build() {
cd "${_pkgname}-${pkgver}${_pkgversuffix}"
python setup.py build
}
package() {
cd "${_pkgname}-${pkgver}${_pkgversuffix}"
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
install -Dvm644 'docs/'*.md -t "${pkgdir}/usr/share/doc/${pkgname}"
cp -rfv 'examples' 'tutorial' "${pkgdir}/usr/share/doc/${pkgname}"
}
# vim: ts=2 sw=2 et:
|