[arch-commits] Commit in kicad-library/repos/community-any (PKGBUILD PKGBUILD)
Kyle Keen
kkeen at archlinux.org
Mon Dec 21 16:47:54 UTC 2015
Date: Monday, December 21, 2015 @ 17:47:53
Author: kkeen
Revision: 153934
archrelease: copy trunk to community-any
Added:
kicad-library/repos/community-any/PKGBUILD
(from rev 153933, kicad-library/trunk/PKGBUILD)
Deleted:
kicad-library/repos/community-any/PKGBUILD
----------+
PKGBUILD | 114 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 57 insertions(+), 57 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2015-12-21 16:47:34 UTC (rev 153933)
+++ PKGBUILD 2015-12-21 16:47:53 UTC (rev 153934)
@@ -1,57 +0,0 @@
-# $Id$
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-
-pkgbase=kicad-library
-pkgname=('kicad-library' 'kicad-library-3d')
-pkgver=4.0.0
-pkgrel=1
-pkgdesc="Kicad component and footprint libraries"
-arch=('any')
-url="https://github.com/KiCad/kicad-library"
-license=('GPL')
-makedepends=('cmake')
-#replaces=('kicad-library-bzr')
-options=('!strip')
-source=("http://downloads.kicad-pcb.org/libraries/kicad-footprints-$pkgver.tar.gz"
- "http://downloads.kicad-pcb.org/libraries/kicad-library-$pkgver.tar.gz")
-md5sums=('e31d83fed31b10c30918fcfd7db4c6b7'
- '676bafdb4eb003083cded3245bffb7e6')
-
-build() {
- # schematics, 3D files, docs
- cd "$srcdir/kicad-library-$pkgver"
- mkdir -p build/Release
- cd build/Release
- cmake ../.. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
-
- # footprints
- cd "$srcdir/kicad-footprints-$pkgver"
- # nothing to build
-}
-
-package_kicad-library() {
- pkgdesc="Kicad component and footprint libraries"
- cd "$srcdir/kicad-library-$pkgver/build/Release"
- make DESTDIR="$pkgdir" install
-
- # not libraries (and provided by kicad)
- #rm -rf "$pkgdir/usr/share/kicad/template"
-
- # footprints
- cd "$srcdir/kicad-footprints-$pkgver"
- # no install either, do it manually
- install -d "$pkgdir/usr/share/kicad/footprints/"
- cp -r * "$pkgdir/usr/share/kicad/footprints/"
-
- # nuke 3D, nuke docs
- rm -rf "$pkgdir/usr/share/kicad/modules/packages3d"
- rm -rf "$pkgdir/usr/share/kicad/modules/footprints_doc"
-}
-
-package_kicad-library-3d() {
- pkgdesc="Kicad 3D render model libararies"
-
- install -d "$pkgdir/usr/share/kicad/modules/packages3d"
- cd "$srcdir/kicad-library-$pkgver/modules/packages3d"
- cp -r * "$pkgdir/usr/share/kicad/modules/packages3d/"
-}
Copied: kicad-library/repos/community-any/PKGBUILD (from rev 153933, kicad-library/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-12-21 16:47:53 UTC (rev 153934)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgbase=kicad-library
+pkgname=('kicad-library' 'kicad-library-3d')
+pkgver=4.0.1
+pkgrel=1
+pkgdesc="Kicad component and footprint libraries"
+arch=('any')
+url="https://github.com/KiCad/kicad-library"
+license=('GPL')
+makedepends=('cmake')
+#replaces=('kicad-library-bzr')
+options=('!strip')
+source=("http://downloads.kicad-pcb.org/libraries/kicad-footprints-$pkgver.tar.gz"
+ "http://downloads.kicad-pcb.org/libraries/kicad-library-$pkgver.tar.gz")
+md5sums=('8a0b3b0a5e93b7e9f7387577093540fe'
+ '09f626d9bcd95333c09d47d8a900f4a5')
+
+build() {
+ # schematics, 3D files, docs
+ cd "$srcdir/kicad-library-$pkgver"
+ mkdir -p build/Release
+ cd build/Release
+ cmake ../.. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
+
+ # footprints
+ cd "$srcdir/kicad-footprints-$pkgver"
+ # nothing to build
+}
+
+package_kicad-library() {
+ pkgdesc="Kicad component and footprint libraries"
+ cd "$srcdir/kicad-library-$pkgver/build/Release"
+ make DESTDIR="$pkgdir" install
+
+ # not libraries (and provided by kicad)
+ #rm -rf "$pkgdir/usr/share/kicad/template"
+
+ # footprints
+ cd "$srcdir/kicad-footprints-$pkgver"
+ # no install either, do it manually
+ install -d "$pkgdir/usr/share/kicad/footprints/"
+ cp -r * "$pkgdir/usr/share/kicad/footprints/"
+
+ # nuke 3D, nuke docs
+ rm -rf "$pkgdir/usr/share/kicad/modules/packages3d"
+ rm -rf "$pkgdir/usr/share/kicad/modules/footprints_doc"
+}
+
+package_kicad-library-3d() {
+ pkgdesc="Kicad 3D render model libararies"
+
+ install -d "$pkgdir/usr/share/kicad/modules/packages3d"
+ cd "$srcdir/kicad-library-$pkgver/modules/packages3d"
+ cp -r * "$pkgdir/usr/share/kicad/modules/packages3d/"
+}
More information about the arch-commits
mailing list