[arch-commits] Commit in (qt6-svg qt6-svg/kde-unstable qt6-svg/kde-unstable/PKGBUILD)

Antonio Rojas arojas at archlinux.org
Tue Oct 6 18:39:32 UTC 2020


    Date: Tuesday, October 6, 2020 @ 18:39:32
  Author: arojas
Revision: 397428

Initial Qt6 packages

Added:
  qt6-svg/
  qt6-svg/kde-unstable/
  qt6-svg/kde-unstable/PKGBUILD

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

Added: qt6-svg/kde-unstable/PKGBUILD
===================================================================
--- qt6-svg/kde-unstable/PKGBUILD	                        (rev 0)
+++ qt6-svg/kde-unstable/PKGBUILD	2020-10-06 18:39:32 UTC (rev 397428)
@@ -0,0 +1,30 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=qt6-svg
+_qtver=6.0.0-alpha
+pkgver=${_qtver/-/}
+pkgrel=1
+arch=(x86_64)
+url='https://www.qt.io'
+license=(GPL3 LGPL3 FDL custom)
+pkgdesc='Classes for displaying the contents of SVG files'
+depends=(qt6-base)
+makedepends=(cmake vulkan-headers)
+groups=(qt6)
+_pkgfn="${pkgname/6-/}-everywhere-src-${_qtver}"
+source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/$_qtver/submodules/$_pkgfn.tar.xz")
+sha256sums=('1ff80c015fe044fa1b625d37830b02e0cc780ee92638a1b7a5561adb5a0546ee')
+
+build() {
+  cmake -B build -S $_pkgfn
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+
+  install -d "$pkgdir"/usr/share/licenses
+  ln -s /usr/share/licenses/qt6-base "$pkgdir"/usr/share/licenses/$pkgname
+}



More information about the arch-commits mailing list