[arch-commits] Commit in qt6-5compat/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Thu Apr 14 22:13:07 UTC 2022
Date: Thursday, April 14, 2022 @ 22:13:07
Author: felixonmars
Revision: 442611
archrelease: copy trunk to staging-x86_64
Added:
qt6-5compat/repos/staging-x86_64/
qt6-5compat/repos/staging-x86_64/PKGBUILD
(from rev 442610, qt6-5compat/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: qt6-5compat/repos/staging-x86_64/PKGBUILD (from rev 442610, qt6-5compat/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2022-04-14 22:13:07 UTC (rev 442611)
@@ -0,0 +1,32 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=qt6-5compat
+_qtver=6.3.0
+pkgver=${_qtver/-/}
+pkgrel=2
+arch=(x86_64)
+url='https://www.qt.io'
+license=(GPL3 LGPL3 FDL custom)
+pkgdesc='Module that contains unsupported Qt 5 APIs'
+depends=(qt6-base)
+makedepends=(cmake ninja qt6-declarative)
+optdepends=('qt6-declarative: for QtGraphicalEffects')
+groups=(qt6)
+options=(debug)
+_pkgfn=${pkgname/6-/}-everywhere-src-$_qtver
+source=(https://download.qt.io/official_releases/qt/${pkgver%.*}/$_qtver/submodules/$_pkgfn.tar.xz)
+sha256sums=('2b199be780c50d9214512b922d94cb240b0412fd63f459e356b76102cad1713e')
+
+build() {
+ cmake -B build -S $_pkgfn -G Ninja
+ 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