diff options
author | Julian Daube | 2020-05-22 11:02:16 +0200 |
---|---|---|
committer | Julian Daube | 2020-05-22 11:02:16 +0200 |
commit | 41638015b3fc061d524e1df68380b20531334703 (patch) | |
tree | 728ce925d2577206a95a9f9acc517d8fa6345eeb /PKGBUILD | |
download | aur-41638015b3fc061d524e1df68380b20531334703.tar.gz |
initial version
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b8f3c9da3a77 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Julian Daube <joposter at gmail dot com> +# Contributor: Julian Daube <joposter at gmail dot com> +pkgname=kikit-git +pkgdesc="KiKit is a Python library and CLI tool to automate several tasks in a standard KiCAD" +pkgver=r65.c76c51e +pkgrel=1 + +url="https://github.com/yaqwsx/KiKit.git" + +arch=("any") +provides=("kikit") +license=("MIT") + +source=("$pkgname::git+https://github.com/yaqwsx/KiKit.git") +md5sums=("SKIP") +makedepends=("python-setuptools") +depends=("python-markdown2" + "python-numpy" + "python-shapely" + "python-click" + "python-pybars3" +) + +pkgver() { + cd "$pkgname" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + cd "$pkgname" + python setup.py install --root="$pkgdir/" --optimize=1 + + # install license + install -Dm 644 LICENCE "$pkgdir"/usr/share/licenses/kikit/LICENSE +} |