summaryrefslogtreecommitdiff
path: root/community/kicad
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-03-07 00:04:11 -0800
committerroot <root@rshg054.dnsready.net>2013-03-07 00:04:11 -0800
commitd8d675cb1e75787b0db061756e4cbebe3c5a03fa (patch)
tree0bdf0ea7325f69ad98bf6c2aac2169a810d5a0ba /community/kicad
parent3af1ee89ded5209697eec4e2ecb77cf1f3f19803 (diff)
Thu Mar 7 00:04:11 PST 2013
Diffstat (limited to 'community/kicad')
-rw-r--r--community/kicad/PKGBUILD20
1 files changed, 13 insertions, 7 deletions
diff --git a/community/kicad/PKGBUILD b/community/kicad/PKGBUILD
index 330a87a86..15518c6c7 100644
--- a/community/kicad/PKGBUILD
+++ b/community/kicad/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 80124 2012-11-16 17:08:40Z kkeen $
+# $Id: PKGBUILD 85759 2013-03-06 14:22:48Z kkeen $
# Maintainer: Kyle Keen <keenerd@gmail.com>
# Contributor: Marq Schneider <queueRAM@gmail.com>
pkgname=kicad
-pkgver=20120119
+pkgver=20130226
_pkgver=${pkgver:0:4}-${pkgver:4:2}-${pkgver:6:2}
-_pkgbzr=3256
+_pkgbzr=3974
pkgrel=4
pkgdesc="Electronic schematic and printed circuit board (PCB) design tools"
arch=('i686' 'x86_64')
@@ -16,16 +16,21 @@ makedepends=('cmake' 'zlib' 'mesa')
optdepends=('kicad-docs-bzr: for documentation'
'kicad-library-bzr: for footprints')
install=kicad.install
-source=(http://iut-tice.ujf-grenoble.fr/cao/${pkgname}_sources-$_pkgver-BZR$_pkgbzr-stable.zip
+source=(http://iut-tice.ujf-grenoble.fr/cao/${pkgname}_sources_stable_${_pkgver}_BZR${_pkgbzr}.zip
kicad-boost-polygon-declare-gtlsort-earlier.patch)
-md5sums=('d65574c42efd72638aed80adef367c3b'
+md5sums=('9b7748efedc355473c72fdb7c37b0500'
'a2c39704238946e74a5ed0c38326345f')
build() {
- cd "$srcdir/KiCad_sources"
+ cd "$srcdir/stable_${_pkgver}_BZR${_pkgbzr}"
patch -p0 < "$srcdir/kicad-boost-polygon-declare-gtlsort-earlier.patch"
+ # harmless build blocking error
+ # see https://lists.launchpad.net/kicad-developers/msg07841.html
+ # for proper fix
+ sed -i 's|^#.*error "You must use|//&|' include/common.h
+
# FS#31559
sed -i 's/-O2/-O1/' CMakeLists.txt
@@ -39,10 +44,11 @@ build() {
}
package() {
- cd "$srcdir/KiCad_sources/build/Release"
+ cd "$srcdir/stable_${_pkgver}_BZR${_pkgbzr}/build/Release"
make DESTDIR="$pkgdir" install
# copy updated linux icons
#cp -r -n "$srcdir/$pkgname-icons/resources/linux/mime/icons" "$pkgdir/usr/share/"
}
+