[arch-commits] Commit in kicad-library-bzr/repos/community-any (PKGBUILD PKGBUILD)
Kyle Keen
kkeen at nymeria.archlinux.org
Sun Apr 28 19:41:35 UTC 2013
Date: Sunday, April 28, 2013 @ 21:41:34
Author: kkeen
Revision: 89356
archrelease: copy trunk to community-any
Added:
kicad-library-bzr/repos/community-any/PKGBUILD
(from rev 89355, kicad-library-bzr/trunk/PKGBUILD)
Deleted:
kicad-library-bzr/repos/community-any/PKGBUILD
----------+
PKGBUILD | 79 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 41 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2013-04-28 19:41:07 UTC (rev 89355)
+++ PKGBUILD 2013-04-28 19:41:34 UTC (rev 89356)
@@ -1,38 +0,0 @@
-# $Id$
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-# Contributor: Marq Schneider <queueRAM at gmail.com>
-
-pkgname=kicad-library-bzr
-pkgver=240
-_bzrver=240
-pkgrel=1
-pkgdesc="Kicad component and footprint libraries"
-arch=('any')
-url="http://iut-tice.ujf-grenoble.fr/kicad/"
-license=('GPL')
-makedepends=('cmake' 'bzr')
-source=()
-md5sums=()
-_bzrtrunk="lp:~kicad-lib-committers/kicad/library"
-_bzrmod="kicad-library"
-
-build() {
- cd "$srcdir"
- msg "Connecting to BZR server..."
- if [ ! -d "$srcdir/$_bzrmod" ] ; then
- bzr co --lightweight --revision $_bzrver $_bzrtrunk $_bzrmod
- else
- bzr up $_bzrmod
- fi
- msg "BZR checkout done or server timeout"
-
- mkdir -p "$srcdir/$_bzrmod/build/Release"
- cd "$srcdir/$_bzrmod/build/Release"
- cmake ../.. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
-}
-
-package() {
- cd "$srcdir/$_bzrmod/build/Release"
-
- make DESTDIR="$pkgdir" install
-}
Copied: kicad-library-bzr/repos/community-any/PKGBUILD (from rev 89355, kicad-library-bzr/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2013-04-28 19:41:34 UTC (rev 89356)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Marq Schneider <queueRAM at gmail.com>
+
+pkgname=kicad-library-bzr
+pkgver=240
+_bzrver=240
+pkgrel=2
+pkgdesc="Kicad component and footprint libraries"
+arch=('any')
+url="http://iut-tice.ujf-grenoble.fr/kicad/"
+license=('GPL')
+makedepends=('cmake' 'bzr')
+source=()
+md5sums=()
+_bzrtrunk="lp:~kicad-lib-committers/kicad/library"
+_bzrmod="kicad-library"
+
+build() {
+ cd "$srcdir"
+ msg "Connecting to BZR server..."
+ if [ ! -d "$srcdir/$_bzrmod" ] ; then
+ bzr co --lightweight --revision $_bzrver $_bzrtrunk $_bzrmod
+ else
+ bzr up $_bzrmod
+ fi
+ msg "BZR checkout done or server timeout"
+
+ mkdir -p "$srcdir/$_bzrmod/build/Release"
+ cd "$srcdir/$_bzrmod/build/Release"
+ cmake ../.. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
+}
+
+package() {
+ cd "$srcdir/$_bzrmod/build/Release"
+
+ make DESTDIR="$pkgdir" install
+
+ # not libraries (and provided by kicad)
+ rm -rf "$pkgdir/usr/share/kicad/template"
+}
More information about the arch-commits
mailing list