[arch-commits] Commit in kicad-footprints/repos (2 files)

George Rawlinson grawlinson at gemini.archlinux.org
Sun Jan 2 01:51:31 UTC 2022


    Date: Sunday, January 2, 2022 @ 01:51:31
  Author: grawlinson
Revision: 1092074

archrelease: copy trunk to community-testing-any

Added:
  kicad-footprints/repos/community-testing-any/
  kicad-footprints/repos/community-testing-any/PKGBUILD
    (from rev 1092073, kicad-footprints/trunk/PKGBUILD)

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Copied: kicad-footprints/repos/community-testing-any/PKGBUILD (from rev 1092073, kicad-footprints/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2022-01-02 01:51:31 UTC (rev 1092074)
@@ -0,0 +1,32 @@
+# Maintainer: George Rawlinson <grawlinson at archlinux.org>
+
+pkgname=kicad-footprints
+pkgver=6.0.0
+pkgrel=1
+pkgdesc="KiCad footprint libraries"
+arch=('any')
+url="https://www.kicad.org"
+license=('custom:CC-BY-SA-4.0')
+makedepends=('cmake')
+conflicts=('kicad-library')
+replaces=('kicad-library')
+source=("https://gitlab.com/kicad/libraries/kicad-footprints/-/archive/$pkgver/kicad-footprints-$pkgver.tar.bz2")
+sha512sums=('d8eac8fcc380ef67ccbd3b8f2529d7023aecef674299d83aabccd41beef1934507edf3a9bdbf4b440ae550470d7f16382aba4090fe5f1d5397a8e0a0f4364ec9')
+b2sums=('dd76d572b15f420de9587bea6556637ad1ad5c3e12a589950124e44fa2e0f71f6e500cf02d2cd0187e2ae92cd786407bc3fb093dd367dea9759d26c8b9d31200')
+
+build() {
+  cmake \
+    -B build \
+    -S "$pkgname-$pkgver" \
+    -DCMAKE_INSTALL_PREFIX=/usr
+
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+
+  # license
+  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" "$pkgname-$pkgver/LICENSE.md"
+}
+



More information about the arch-commits mailing list