[arch-commits] Commit in python-kikit/trunk (PKGBUILD)

Filipe Laíns ffy00 at archlinux.org
Thu Aug 27 19:24:45 UTC 2020


    Date: Thursday, August 27, 2020 @ 19:24:44
  Author: ffy00
Revision: 689939

upgpkg: python-kikit 0.6.1-1

Added:
  python-kikit/trunk/PKGBUILD

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Added: PKGBUILD
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-08-27 19:24:44 UTC (rev 689939)
@@ -0,0 +1,31 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=KiKit
+pkgname=python-kikit
+pkgver=0.6.1
+pkgrel=1
+pkgdesc='Automation tools for KiCAD'
+arch=('any')
+url='https://github.com/yaqwsx/KiKit'
+license=('MIT')
+depends=('python' 'kicad' 'python-numpy' 'python-shapely' 'python-click' 'python-markdown2'
+         'python-pybars3' 'python-solidpython')
+makedepends=('python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('c9a460e42d3add7edfbd9ba545bb219d0039f92f982b1d623fa251489aaef4ae3087494af0d2fdb2a70bd9c7b606dd68f008c2f2d8562c4067127e4ef357411d')
+
+build() {
+  cd $_pkgname-$pkgver
+
+  python setup.py build
+}
+
+package() {
+  cd $_pkgname-$pkgver
+
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+  install -Dm 644 LICENCE "$pkgdir"/usr/share/licenses/$pkgname/LICENCE
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list