[arch-commits] Commit in pcbdraw/repos (2 files)

Felix Yan felixonmars at archlinux.org
Sun Nov 15 10:34:46 UTC 2020


    Date: Sunday, November 15, 2020 @ 10:34:46
  Author: felixonmars
Revision: 754374

archrelease: copy trunk to community-staging-any

Added:
  pcbdraw/repos/community-staging-any/
  pcbdraw/repos/community-staging-any/PKGBUILD
    (from rev 754373, pcbdraw/trunk/PKGBUILD)

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

Copied: pcbdraw/repos/community-staging-any/PKGBUILD (from rev 754373, pcbdraw/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-15 10:34:46 UTC (rev 754374)
@@ -0,0 +1,30 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=PcbDraw
+pkgname=pcbdraw
+pkgver=0.6.1
+pkgrel=1
+pkgdesc='Convert your KiCAD board into a nice looking 2D drawing suitable for pinout diagrams'
+arch=('any')
+url='https://github.com/yaqwsx/PcbDraw'
+license=('MIT')
+depends=('python' 'kicad' 'python-numpy' 'python-lxml' 'python-mistune' 'python-pybars3' 'python-wand' 'python-yaml')
+makedepends=('python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('bf149f030eb2b66bc7d4fcd3c93b8775dcd5ed49975a8f648c445f72496ba970704bcbe588975efe0607cbff6ebce41382aac0ac484f87eff853c4b5cfec9bcd')
+
+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 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list