[arch-commits] Commit in qt6-declarative/repos (2 files)
Antonio Rojas
arojas at archlinux.org
Tue Mar 2 17:38:59 UTC 2021
Date: Tuesday, March 2, 2021 @ 17:38:59
Author: arojas
Revision: 409042
archrelease: copy kde-unstable to kde-unstable-x86_64
Added:
qt6-declarative/repos/kde-unstable-x86_64/
qt6-declarative/repos/kde-unstable-x86_64/PKGBUILD
(from rev 409041, qt6-declarative/kde-unstable/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: qt6-declarative/repos/kde-unstable-x86_64/PKGBUILD (from rev 409041, qt6-declarative/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD (rev 0)
+++ kde-unstable-x86_64/PKGBUILD 2021-03-02 17:38:59 UTC (rev 409042)
@@ -0,0 +1,36 @@
+# 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.1.0-beta1
+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 python vulkan-headers at-spi2-core)
+groups=(qt6)
+_pkgfn="${pkgname/6-/}-everywhere-src-${_qtver}"
+source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/$_qtver/submodules/$_pkgfn.tar.xz")
+sha256sums=('5057d80a420f1d9121beb5b5e9f0ca7fb9b60fadcef22c39a0fa6d187417dce0')
+
+build() {
+ cmake -B build -S $_pkgfn
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+
+# Symlinks for backwards compatibility
+ mkdir "$pkgdir"/usr/bin
+ for b in "${pkgdir}"/usr/lib/qt6/bin/*; do
+ ln -rs "$pkgdir"/usr/lib/qt6/bin/$(basename $b) "$pkgdir"/usr/bin/$(basename $b)-qt6
+ done
+
+ 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