[arch-commits] Commit in (4 files)

George Rawlinson grawlinson at gemini.archlinux.org
Sun Jan 2 01:27:02 UTC 2022


    Date: Sunday, January 2, 2022 @ 01:27:02
  Author: grawlinson
Revision: 1092061

addpkg: kicad-packages3d 6.0.0-1

* FS#71782
* Follow upstream naming scheme.
* Split packages out as upstream release dates all differ by weeks.

Added:
  kicad-packages3d/
  kicad-packages3d/repos/
  kicad-packages3d/trunk/
  kicad-packages3d/trunk/PKGBUILD

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

Added: kicad-packages3d/trunk/PKGBUILD
===================================================================
--- kicad-packages3d/trunk/PKGBUILD	                        (rev 0)
+++ kicad-packages3d/trunk/PKGBUILD	2022-01-02 01:27:02 UTC (rev 1092061)
@@ -0,0 +1,32 @@
+# Maintainer: George Rawlinson <grawlinson at archlinux.org>
+
+pkgname=kicad-packages3d
+pkgver=6.0.0
+pkgrel=1
+pkgdesc="KiCad 3D model libraries"
+arch=('any')
+url="https://www.kicad.org"
+license=('custom:CC-BY-SA-4.0')
+makedepends=('cmake')
+conflicts=('kicad-library3d')
+replaces=('kicad-library3d')
+source=("https://gitlab.com/kicad/libraries/kicad-packages3D/-/archive/$pkgver/kicad-packages3D-$pkgver.tar.bz2")
+sha512sums=('48f6698d8b48483e484638f780cf5a9522cda5381c3858b15b0862994dfacc271426ecbaaa5168a2fc8f6be84ac6e9b160e080ac74183d5be282de36088416af')
+b2sums=('5287b9ae322f6eac5035c0dbe725a26f2d44cde259c95d8d5db950839de067075716ff343db32088861873b77f06116c2dc077461fc35681fcf4c86e5b9ba3d1')
+
+build() {
+  cmake \
+    -B build \
+    -S "kicad-packages3D-$pkgver" \
+    -DCMAKE_INSTALL_PREFIX=/usr
+
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+
+  # license
+  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" "kicad-packages3D-$pkgver/LICENSE.md"
+}
+



More information about the arch-commits mailing list