[arch-commits] Commit in kicad/repos (6 files)

Evangelos Foutras foutrelis at archlinux.org
Thu Mar 3 13:18:53 UTC 2016


    Date: Thursday, March 3, 2016 @ 14:18:52
  Author: foutrelis
Revision: 164472

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  kicad/repos/community-staging-i686/
  kicad/repos/community-staging-i686/PKGBUILD
    (from rev 164471, kicad/trunk/PKGBUILD)
  kicad/repos/community-staging-i686/kicad.install
    (from rev 164471, kicad/trunk/kicad.install)
  kicad/repos/community-staging-x86_64/
  kicad/repos/community-staging-x86_64/PKGBUILD
    (from rev 164471, kicad/trunk/PKGBUILD)
  kicad/repos/community-staging-x86_64/kicad.install
    (from rev 164471, kicad/trunk/kicad.install)

----------------------------------------+
 community-staging-i686/PKGBUILD        |   59 +++++++++++++++++++++++++++++++
 community-staging-i686/kicad.install   |   15 +++++++
 community-staging-x86_64/PKGBUILD      |   59 +++++++++++++++++++++++++++++++
 community-staging-x86_64/kicad.install |   15 +++++++
 4 files changed, 148 insertions(+)

Copied: kicad/repos/community-staging-i686/PKGBUILD (from rev 164471, kicad/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2016-03-03 13:18:52 UTC (rev 164472)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Marq Schneider <queueRAM at gmail.com>
+
+pkgname=kicad
+pkgver=4.0.2
+pkgrel=3
+pkgdesc="Electronic schematic and printed circuit board (PCB) design tools"
+arch=('i686' 'x86_64')
+#url="http://iut-tice.ujf-grenoble.fr/kicad/"
+url="http://kicad-pcb.org/"
+license=('GPL')
+depends=('wxgtk' 'hicolor-icon-theme' 'desktop-file-utils' 'libsm' 'boost-libs' 'glew')
+makedepends=('cmake' 'zlib' 'mesa' 'boost' 'gettext' 'wxpython' 'swig')
+optdepends=('kicad-library: for footprints and symbols'
+            'kicad-library-3d: for 3d models of components'
+            'wxpython: for python scripting plugin')
+# python optdep for plugins?
+install=kicad.install
+source=("https://launchpad.net/kicad/4.0/$pkgver/+download/kicad-$pkgver.tar.xz"
+        "kicad-i18n.$pkgver.tar.gz::https://github.com/KiCad/kicad-i18n/archive/$pkgver.tar.gz")
+md5sums=('6c40f3a511f47c1145ccc75b9c3729f7'
+         '14b17243b11bccc0483efb3743bd0f7b')
+
+build() {
+  cd "$srcdir/kicad-$pkgver"
+
+  mkdir -p build/Release
+  cd build/Release
+  cmake ../.. -DKICAD_STABLE_VERSION=ON     \
+              -DKICAD_REPO_NAME=stable      \
+              -DKICAD_BUILD_VERSION=$pkgver \
+              -DCMAKE_BUILD_TYPE=Release    \
+              -DCMAKE_INSTALL_PREFIX=/usr   \
+              -DKICAD_SKIP_BOOST=ON         \
+              -DKICAD_SCRIPTING=ON          \
+              -DKICAD_SCRIPTING_MODULES=ON  \
+              -DKICAD_SCRIPTING_WXPYTHON=ON \
+              -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-i686/kicad.install (from rev 164471, kicad/trunk/kicad.install)
===================================================================
--- community-staging-i686/kicad.install	                        (rev 0)
+++ community-staging-i686/kicad.install	2016-03-03 13:18:52 UTC (rev 164472)
@@ -0,0 +1,15 @@
+pkgname=kicad
+
+post_install() {
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+  update-mime-database usr/share/mime > /dev/null
+  update-desktop-database -q
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+post_remove() {
+  post_install $1
+}

Copied: kicad/repos/community-staging-x86_64/PKGBUILD (from rev 164471, kicad/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2016-03-03 13:18:52 UTC (rev 164472)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Marq Schneider <queueRAM at gmail.com>
+
+pkgname=kicad
+pkgver=4.0.2
+pkgrel=3
+pkgdesc="Electronic schematic and printed circuit board (PCB) design tools"
+arch=('i686' 'x86_64')
+#url="http://iut-tice.ujf-grenoble.fr/kicad/"
+url="http://kicad-pcb.org/"
+license=('GPL')
+depends=('wxgtk' 'hicolor-icon-theme' 'desktop-file-utils' 'libsm' 'boost-libs' 'glew')
+makedepends=('cmake' 'zlib' 'mesa' 'boost' 'gettext' 'wxpython' 'swig')
+optdepends=('kicad-library: for footprints and symbols'
+            'kicad-library-3d: for 3d models of components'
+            'wxpython: for python scripting plugin')
+# python optdep for plugins?
+install=kicad.install
+source=("https://launchpad.net/kicad/4.0/$pkgver/+download/kicad-$pkgver.tar.xz"
+        "kicad-i18n.$pkgver.tar.gz::https://github.com/KiCad/kicad-i18n/archive/$pkgver.tar.gz")
+md5sums=('6c40f3a511f47c1145ccc75b9c3729f7'
+         '14b17243b11bccc0483efb3743bd0f7b')
+
+build() {
+  cd "$srcdir/kicad-$pkgver"
+
+  mkdir -p build/Release
+  cd build/Release
+  cmake ../.. -DKICAD_STABLE_VERSION=ON     \
+              -DKICAD_REPO_NAME=stable      \
+              -DKICAD_BUILD_VERSION=$pkgver \
+              -DCMAKE_BUILD_TYPE=Release    \
+              -DCMAKE_INSTALL_PREFIX=/usr   \
+              -DKICAD_SKIP_BOOST=ON         \
+              -DKICAD_SCRIPTING=ON          \
+              -DKICAD_SCRIPTING_MODULES=ON  \
+              -DKICAD_SCRIPTING_WXPYTHON=ON \
+              -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/kicad.install (from rev 164471, kicad/trunk/kicad.install)
===================================================================
--- community-staging-x86_64/kicad.install	                        (rev 0)
+++ community-staging-x86_64/kicad.install	2016-03-03 13:18:52 UTC (rev 164472)
@@ -0,0 +1,15 @@
+pkgname=kicad
+
+post_install() {
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+  update-mime-database usr/share/mime > /dev/null
+  update-desktop-database -q
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+post_remove() {
+  post_install $1
+}



More information about the arch-commits mailing list