[arch-commits] Commit in pcbdraw/repos (community-any community-any/PKGBUILD)

Filipe Laíns ffy00 at archlinux.org
Fri Jul 10 21:12:34 UTC 2020


    Date: Friday, July 10, 2020 @ 21:12:34
  Author: ffy00
Revision: 663194

archrelease: copy trunk to community-any

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

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

Copied: pcbdraw/repos/community-any/PKGBUILD (from rev 663193, pcbdraw/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2020-07-10 21:12:34 UTC (rev 663194)
@@ -0,0 +1,30 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=PcbDraw
+pkgname=pcbdraw
+pkgver=0.4.0
+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' 'python-numpy' 'python-lxml' 'python-mistune' 'python-pybars3' 'python-wand' 'python-pyaml')
+makedepends=('python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('81077e62e1dc308dae80641c8852b6e0e09c44fd047bde609fd6e3683b4a4114f27e91bacdff451b4907ba1d621ba17d4a863087139b44bf4e80e0a979117207')
+
+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