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

George Rawlinson grawlinson at gemini.archlinux.org
Sun Jan 2 01:52:13 UTC 2022


    Date: Sunday, January 2, 2022 @ 01:52:13
  Author: grawlinson
Revision: 1092075

archrelease: copy trunk to community-testing-any

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

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

Copied: kicad-templates/repos/community-testing-any/PKGBUILD (from rev 1092074, kicad-templates/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2022-01-02 01:52:13 UTC (rev 1092075)
@@ -0,0 +1,30 @@
+# Maintainer: George Rawlinson <grawlinson at archlinux.org>
+
+pkgname=kicad-templates
+pkgver=6.0.0
+pkgrel=1
+pkgdesc="KiCad project templates & worksheets"
+arch=('any')
+url="https://www.kicad.org"
+license=('custom:CC-BY-SA-4.0')
+makedepends=('cmake')
+source=("https://gitlab.com/kicad/libraries/kicad-templates/-/archive/$pkgver/kicad-templates-$pkgver.tar.bz2")
+sha512sums=('b880a728bf0b2ef5512fdf1d5b76b5fe60ce6c3791142d4ff81f118b131abe1a45ab7af095e3a133e5637ad0cf67b85e74b2cb5f3f8661025c1511267d8046d0')
+b2sums=('9f72475b0b15c682e13fda9bc6bdf90c851fdfc6b2111c88507fce4cc6badbf1510e919d2d484c6397eaa12dec04a23a98d9b26c33d78b6e92a82b376b25f24c')
+
+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