[arch-commits] Commit in qt6-declarative/repos (2 files)

Antonio Rojas arojas at gemini.archlinux.org
Wed Dec 1 10:13:22 UTC 2021


    Date: Wednesday, December 1, 2021 @ 10:13:21
  Author: arojas
Revision: 429869

archrelease: copy trunk to testing-x86_64

Added:
  qt6-declarative/repos/testing-x86_64/
  qt6-declarative/repos/testing-x86_64/PKGBUILD
    (from rev 429868, qt6-declarative/trunk/PKGBUILD)

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

Copied: qt6-declarative/repos/testing-x86_64/PKGBUILD (from rev 429868, qt6-declarative/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2021-12-01 10:13:21 UTC (rev 429869)
@@ -0,0 +1,41 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=qt6-declarative
+_qtver=6.2.2
+pkgver=${_qtver/-/}
+pkgrel=1
+arch=(x86_64)
+url='https://www.qt.io'
+license=(GPL3 LGPL3 FDL custom)
+pkgdesc='Classes for QML and JavaScript languages'
+depends=(qt6-base)
+makedepends=(cmake ninja python at-spi2-core qt6-shadertools)
+conflicts=(qt6-quickcontrols2)
+provides=(qt6-quickcontrols2)
+replaces=(qt6-quickcontrols2)
+groups=(qt6)
+_pkgfn="${pkgname/6-/}-everywhere-src-$_qtver"
+source=(https://download.qt.io/official_releases/qt/${pkgver%.*}/$_qtver/submodules/$_pkgfn.tar.xz)
+sha256sums=('1a04ef0092b31354e0fded0d8391865719cb58f9ca5dc604da2b1f62c742cf28')
+
+build() {
+  cmake -B build -S $_pkgfn -G Ninja \
+    -DINSTALL_PUBLICBINDIR=usr/bin
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+
+# Install symlinks for user-facing tools
+  cd "$pkgdir"
+  mkdir usr/bin
+  while read _line; do
+    ln -s $_line
+  done < "$srcdir"/build/user_facing_tool_links.txt
+
+  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