[arch-commits] Commit in kicad-library/repos/community-any (PKGBUILD PKGBUILD)
Kyle Keen
kkeen at archlinux.org
Tue Jul 19 23:57:02 UTC 2016
Date: Tuesday, July 19, 2016 @ 23:57:02
Author: kkeen
Revision: 183324
archrelease: copy trunk to community-any
Added:
kicad-library/repos/community-any/PKGBUILD
(from rev 183323, kicad-library/trunk/PKGBUILD)
Deleted:
kicad-library/repos/community-any/PKGBUILD
----------+
PKGBUILD | 114 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 57 insertions(+), 57 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-07-19 23:56:40 UTC (rev 183323)
+++ PKGBUILD 2016-07-19 23:57:02 UTC (rev 183324)
@@ -1,57 +0,0 @@
-# $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/"
-}
Copied: kicad-library/repos/community-any/PKGBUILD (from rev 183323, kicad-library/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-07-19 23:57:02 UTC (rev 183324)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgbase=kicad-library
+pkgname=('kicad-library' 'kicad-library-3d')
+pkgver=4.0.2
+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=('6d7e2b2c6767ee17c93e4fa550cb9566'
+ '217eee65b2317909c6fcc4eb4de613bd')
+
+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