[arch-commits] Commit in (3 files)

Antonio Rojas arojas at gemini.archlinux.org
Fri Jan 21 21:10:43 UTC 2022


    Date: Friday, January 21, 2022 @ 21:10:43
  Author: arojas
Revision: 1112707

Readd krita GMic plugin

Added:
  krita-plugin-gmic/
  krita-plugin-gmic/trunk/
  krita-plugin-gmic/trunk/PKGBUILD

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

Added: krita-plugin-gmic/trunk/PKGBUILD
===================================================================
--- krita-plugin-gmic/trunk/PKGBUILD	                        (rev 0)
+++ krita-plugin-gmic/trunk/PKGBUILD	2022-01-21 21:10:43 UTC (rev 1112707)
@@ -0,0 +1,27 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=krita-plugin-gmic
+pkgver=3.0.2.1
+pkgrel=1
+pkgdesc='GMic plugin for Krita'
+arch=(x86_64)
+url='https://github.com/amyspark/gmic'
+license=(custom:CeCILL)
+depends=(krita gmic)
+makedepends=(extra-cmake-modules qt5-tools)
+source=(https://github.com/amyspark/gmic/releases/download/v$pkgver/gmic-$pkgver-patched.tar.xz{,.asc})
+sha256sums=('3a45ed88e690db458a973239e5a6b5abbf963315d2fd63af8d155b150fffc428'
+            'SKIP')
+validpgpkeys=(4894424D2412FEE5176732A3FC00108CFD9DBF1E) # https://github.com/amyspark.gpg
+
+build() {
+  cmake -B build -S gmic-$pkgver-patched/gmic-qt \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DGMIC_QT_HOST=krita-plugin
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+  install -Dm644 gmic-$pkgver-patched/COPYING -t "$pkgdir"/usr/share/licenses/$pkgname
+}



More information about the arch-commits mailing list