[arch-commits] Commit in kicad/repos/community-staging-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Nov 12 16:11:21 UTC 2020
Date: Thursday, November 12, 2020 @ 16:11:21
Author: felixonmars
Revision: 752066
archrelease: copy trunk to community-staging-x86_64
Added:
kicad/repos/community-staging-x86_64/PKGBUILD
(from rev 752065, kicad/trunk/PKGBUILD)
Deleted:
kicad/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 132 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 66 insertions(+), 66 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-12 16:11:08 UTC (rev 752065)
+++ PKGBUILD 2020-11-12 16:11:21 UTC (rev 752066)
@@ -1,66 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-# Contributor: Marq Schneider <queueRAM at gmail.com>
-# Contributor: Nick Østergaard
-
-pkgname=kicad
-pkgver=5.1.8
-pkgrel=2
-pkgdesc="Electronic schematic and printed circuit board (PCB) design tools"
-arch=('x86_64')
-#url="http://iut-tice.ujf-grenoble.fr/kicad/"
-url="http://kicad-pcb.org/"
-license=('GPL')
-depends=('wxgtk3' 'python' 'boost-libs' 'glew' 'curl' 'glm' 'ngspice' 'opencascade' 'python-wxpython' 'libcloudproviders')
-# can ngspice/opencascade be an optdep?
-# opencascade vs community edition?
-makedepends=('cmake' 'zlib' 'mesa' 'boost' 'swig')
-optdepends=('kicad-library: for footprints and symbols'
- 'kicad-library-3d: for 3d models of components')
-source=("https://gitlab.com/kicad/code/kicad/-/archive/$pkgver/kicad-$pkgver.tar.gz"
- "https://gitlab.com/kicad/code/kicad-i18n/-/archive/$pkgver/kicad-i18n-$pkgver.tar.gz")
-sha512sums=('ac9a8fa4a8c43f29375a4efff49030f060ee24828c9127bc13d4260e64aed4c71737beb0cda3012f62a450a912d8ac15a7b0be8fbc1023faa977879a6f59d3bf'
- '2d486a48bff0e9e69c653ec289c0a8d4d0180cbfefbdc945308e09de23dc4785163dd39c2b0f6dc58b54b3ab2b993bd96e906c37e28ce4bdff43093fc8008fde')
-
-prepare() {
- cd "$srcdir/kicad-$pkgver"
- #find -name '*.py' -exec sed -i '1s/python$/&2/' {} +
-}
-
-build() {
- cd "$srcdir/kicad-$pkgver"
-
- mkdir -p build/Release
- cd build/Release
- cmake ../.. -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib \
- -DKICAD_USE_OCE=OFF \
- -DKICAD_USE_OCC=ON \
- -DKICAD_SCRIPTING=ON \
- -DKICAD_SCRIPTING_PYTHON3=ON \
- -DKICAD_SCRIPTING_MODULES=ON \
- -DKICAD_SCRIPTING_WXPYTHON=ON \
- -DKICAD_SCRIPTING_ACTION_MENU=ON \
- -DKICAD_SCRIPTING_WXPYTHON_PHOENIX=ON \
- -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-gtk3 \
- -DBUILD_GITHUB_PLUGIN=ON
- make
-
- cd "$srcdir/kicad-i18n-$pkgver"
- mkdir -p build/Release
- cd build/Release
- cmake ../.. -DCMAKE_INSTALL_PREFIX=/usr
- make
-}
-
-package() {
- cd "$srcdir/kicad-$pkgver/build/Release"
-
- make DESTDIR="$pkgdir" install
-
- # copy updated linux icons
- #cp -r -n "$srcdir/$pkgname-icons/resources/linux/mime/icons" "$pkgdir/usr/share/"
-
- cd "$srcdir/kicad-i18n-$pkgver/build/Release"
- make DESTDIR="$pkgdir" install
-}
Copied: kicad/repos/community-staging-x86_64/PKGBUILD (from rev 752065, kicad/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-12 16:11:21 UTC (rev 752066)
@@ -0,0 +1,66 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Marq Schneider <queueRAM at gmail.com>
+# Contributor: Nick Østergaard
+
+pkgname=kicad
+pkgver=5.1.8
+pkgrel=3
+pkgdesc="Electronic schematic and printed circuit board (PCB) design tools"
+arch=('x86_64')
+#url="http://iut-tice.ujf-grenoble.fr/kicad/"
+url="http://kicad-pcb.org/"
+license=('GPL')
+depends=('wxgtk3' 'python' 'boost-libs' 'glew' 'curl' 'glm' 'ngspice' 'opencascade' 'python-wxpython' 'libcloudproviders')
+# can ngspice/opencascade be an optdep?
+# opencascade vs community edition?
+makedepends=('cmake' 'zlib' 'mesa' 'boost' 'swig')
+optdepends=('kicad-library: for footprints and symbols'
+ 'kicad-library-3d: for 3d models of components')
+source=("https://gitlab.com/kicad/code/kicad/-/archive/$pkgver/kicad-$pkgver.tar.gz"
+ "https://gitlab.com/kicad/code/kicad-i18n/-/archive/$pkgver/kicad-i18n-$pkgver.tar.gz")
+sha512sums=('ac9a8fa4a8c43f29375a4efff49030f060ee24828c9127bc13d4260e64aed4c71737beb0cda3012f62a450a912d8ac15a7b0be8fbc1023faa977879a6f59d3bf'
+ '2d486a48bff0e9e69c653ec289c0a8d4d0180cbfefbdc945308e09de23dc4785163dd39c2b0f6dc58b54b3ab2b993bd96e906c37e28ce4bdff43093fc8008fde')
+
+prepare() {
+ cd "$srcdir/kicad-$pkgver"
+ #find -name '*.py' -exec sed -i '1s/python$/&2/' {} +
+}
+
+build() {
+ cd "$srcdir/kicad-$pkgver"
+
+ mkdir -p build/Release
+ cd build/Release
+ cmake ../.. -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DKICAD_USE_OCE=OFF \
+ -DKICAD_USE_OCC=ON \
+ -DKICAD_SCRIPTING=ON \
+ -DKICAD_SCRIPTING_PYTHON3=ON \
+ -DKICAD_SCRIPTING_MODULES=ON \
+ -DKICAD_SCRIPTING_WXPYTHON=ON \
+ -DKICAD_SCRIPTING_ACTION_MENU=ON \
+ -DKICAD_SCRIPTING_WXPYTHON_PHOENIX=ON \
+ -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-gtk3 \
+ -DBUILD_GITHUB_PLUGIN=ON
+ make
+
+ cd "$srcdir/kicad-i18n-$pkgver"
+ mkdir -p build/Release
+ cd build/Release
+ cmake ../.. -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/kicad-$pkgver/build/Release"
+
+ make DESTDIR="$pkgdir" install
+
+ # copy updated linux icons
+ #cp -r -n "$srcdir/$pkgname-icons/resources/linux/mime/icons" "$pkgdir/usr/share/"
+
+ cd "$srcdir/kicad-i18n-$pkgver/build/Release"
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list