summaryrefslogtreecommitdiff
path: root/community/kicad/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-03-07 17:31:10 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2013-03-07 17:31:10 +0100
commit0e48701e4ef754a7d5aab1e8fa1ef6ba8ff3c441 (patch)
treea01dc4371165970aa77e40aaaf74ba1eae8daf47 /community/kicad/PKGBUILD
parent1ac5165814a8df7108dae57ebb527efd21873461 (diff)
parentd8d675cb1e75787b0db061756e4cbebe3c5a03fa (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/busybox/PKGBUILD community/glpng/PKGBUILD community/hercules/PKGBUILD community/libnetfilter_acct/PKGBUILD community/libvirt/PKGBUILD extra/crypto++/PKGBUILD extra/hexedit/PKGBUILD extra/kdesdk-kate/PKGBUILD extra/kdesdk/PKGBUILD extra/libmp3splt/PKGBUILD extra/ntfs-3g_ntfsprogs/PKGBUILD extra/opencv/PKGBUILD extra/qemu-kvm/PKGBUILD extra/xf86-input-wacom/PKGBUILD extra/xfce4-eyes-plugin/PKGBUILD extra/xfdesktop/PKGBUILD
Diffstat (limited to 'community/kicad/PKGBUILD')
-rw-r--r--community/kicad/PKGBUILD20
1 files changed, 13 insertions, 7 deletions
diff --git a/community/kicad/PKGBUILD b/community/kicad/PKGBUILD
index e9a8962df..7c354d969 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' 'mips64el')
@@ -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/"
}
+