[arch-commits] Commit in kicad/repos (6 files)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Mon Dec 21 18:45:50 UTC 2015
Date: Monday, December 21, 2015 @ 19:45:50
Author: bpiotrowski
Revision: 154027
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 154026, kicad/trunk/PKGBUILD)
kicad/repos/community-staging-i686/kicad.install
(from rev 154026, kicad/trunk/kicad.install)
kicad/repos/community-staging-x86_64/
kicad/repos/community-staging-x86_64/PKGBUILD
(from rev 154026, kicad/trunk/PKGBUILD)
kicad/repos/community-staging-x86_64/kicad.install
(from rev 154026, kicad/trunk/kicad.install)
----------------------------------------+
community-staging-i686/PKGBUILD | 55 +++++++++++++++++++++++++++++++
community-staging-i686/kicad.install | 15 ++++++++
community-staging-x86_64/PKGBUILD | 55 +++++++++++++++++++++++++++++++
community-staging-x86_64/kicad.install | 15 ++++++++
4 files changed, 140 insertions(+)
Copied: kicad/repos/community-staging-i686/PKGBUILD (from rev 154026, kicad/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-12-21 18:45:50 UTC (rev 154027)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Marq Schneider <queueRAM at gmail.com>
+
+pkgname=kicad
+pkgver=4.0.1
+pkgrel=2
+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')
+optdepends=('kicad-library: for footprints and symbols'
+ 'kicad-library-3d: for 3d models of components')
+# python optdep for plugins?
+install=kicad.install
+source=("https://launchpad.net/kicad/4.0/$pkgver/+download/kicad-$pkgver.tar.xz"
+ "https://github.com/KiCad/kicad-i18n/archive/$pkgver.tar.gz")
+md5sums=('e85e9ab6ba7736377a31cfecc8aca4a6'
+ '42db67dac237675af91e705de4913d04')
+
+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 \
+ -DBUILD_GITHUB_PLUGIN=ON
+ make
+
+ cd "$srcdir/kicad-i18n-$pkgver"
+ mkdir -p build/Release
+ cd build/Release
+ cmake ../..
+ 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 154026, kicad/trunk/kicad.install)
===================================================================
--- community-staging-i686/kicad.install (rev 0)
+++ community-staging-i686/kicad.install 2015-12-21 18:45:50 UTC (rev 154027)
@@ -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 154026, kicad/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-12-21 18:45:50 UTC (rev 154027)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Marq Schneider <queueRAM at gmail.com>
+
+pkgname=kicad
+pkgver=4.0.1
+pkgrel=2
+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')
+optdepends=('kicad-library: for footprints and symbols'
+ 'kicad-library-3d: for 3d models of components')
+# python optdep for plugins?
+install=kicad.install
+source=("https://launchpad.net/kicad/4.0/$pkgver/+download/kicad-$pkgver.tar.xz"
+ "https://github.com/KiCad/kicad-i18n/archive/$pkgver.tar.gz")
+md5sums=('e85e9ab6ba7736377a31cfecc8aca4a6'
+ '42db67dac237675af91e705de4913d04')
+
+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 \
+ -DBUILD_GITHUB_PLUGIN=ON
+ make
+
+ cd "$srcdir/kicad-i18n-$pkgver"
+ mkdir -p build/Release
+ cd build/Release
+ cmake ../..
+ 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 154026, kicad/trunk/kicad.install)
===================================================================
--- community-staging-x86_64/kicad.install (rev 0)
+++ community-staging-x86_64/kicad.install 2015-12-21 18:45:50 UTC (rev 154027)
@@ -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