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

George Rawlinson grawlinson at gemini.archlinux.org
Sun Jan 2 01:30:54 UTC 2022


    Date: Sunday, January 2, 2022 @ 01:30:54
  Author: grawlinson
Revision: 1092066

upgpkg: kicad 6.0.0-3

* FS#73184
* FS#72437
* FS#71782

Modified:
  kicad/trunk/PKGBUILD

----------+
 PKGBUILD |   39 +++++++++++++++++++++------------------
 1 file changed, 21 insertions(+), 18 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-02 01:30:51 UTC (rev 1092065)
+++ PKGBUILD	2022-01-02 01:30:54 UTC (rev 1092066)
@@ -1,6 +1,6 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Maintainer: George Rawlinson <grawlinson at archlinux.org>
 # Maintainer: Filipe Laíns <lains at archlinux.org>
-# Maintainer: George Rawlinson <grawlinson at archlinux.org>
-# Contributor: Kyle Keen <keenerd at gmail.com>
 # Contributor: Marq Schneider <queueRAM at gmail.com>
 # Contributor: Nick Østergaard
 # Contributor: Rachel Mant <aur at dragonmux.network>
@@ -7,24 +7,27 @@
 
 pkgname=kicad
 pkgver=6.0.0
-pkgrel=2
+pkgrel=3
 pkgdesc='Electronic schematic and printed circuit board (PCB) design tools'
 arch=('x86_64')
 url='http://kicad.org/'
 license=('GPL')
 depends=('wxgtk3' 'python' 'boost-libs' 'glew' 'curl' 'glm' 'ngspice' 'opencascade' 'python-wxpython')
-makedepends=('cmake' 'mesa' 'boost' 'swig' 'ninja')
-optdepends=('kicad-library: for footprints and symbols'
-            'kicad-library-3d: for 3d models of components')
+makedepends=('cmake' 'mesa' 'boost' 'swig')
+optdepends=(
+  'kicad-footprints: for footprint libraries'
+  'kicad-symbols: for schematic symbols'
+  'kicad-packages3d: for 3D models of components'
+  'kicad-templates: for project templates & worksheets'
+)
 source=("https://gitlab.com/kicad/code/kicad/-/archive/$pkgver/kicad-$pkgver.tar.bz2")
 sha512sums=('1267b7cd35a63a3f26c2e9b0695722cbb9b279d1326f52f0b8497bd3011d79a5732e6da27f6413fb72064fe2aca72da95252011c6cb0b70c209f296f40a77b90')
+b2sums=('21a43f952c748ec90bde29621b927e1cb69b4f9faf6842924888c74e15cad768826bba5eea973c4b5b0e43bb1e45eaf1e1bfa691691248ec238d8b0f3f24ca5d')
 
-build()
-{
-  mkdir $pkgname-$pkgver/build
-  cd $pkgname-$pkgver/build
-
-  cmake .. -G Ninja \
+build() {
+  cmake \
+    -S "$pkgname-$pkgver" \
+    -B build \
     -DCMAKE_BUILD_TYPE=Release \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DCMAKE_INSTALL_LIBDIR=lib \
@@ -31,16 +34,16 @@
     -DKICAD_USE_OCC=ON \
     -DKICAD_SCRIPTING_WXPYTHON=ON \
     -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-gtk3 \
+    -DKICAD_BUILD_I18N=ON \
+    -DKICAD_I18N_UNIX_STRICT_PATH=ON \
+    -DKICAD_BUILD_QA_TESTS=OFF \
     -Wno-dev
 
-  ninja
+  cmake --build build
 }
 
-package()
-{
-  cd $pkgname-$pkgver/build
-
-  DESTDIR="$pkgdir" ninja install
+package() {
+  DESTDIR="$pkgdir" cmake --install build
 }
 
 # vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list