Date: Thursday, December 22, 2022 @ 21:47:43 Author: arojas Revision: 464761
archrelease: copy kde-unstable to kde-unstable-x86_64 Added: qt6-grpc/repos/ qt6-grpc/repos/kde-unstable-x86_64/ qt6-grpc/repos/kde-unstable-x86_64/PKGBUILD (from rev 464760, qt6-grpc/kde-unstable/PKGBUILD) ----------+ PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) Copied: qt6-grpc/repos/kde-unstable-x86_64/PKGBUILD (from rev 464760, qt6-grpc/kde-unstable/PKGBUILD) =================================================================== --- repos/kde-unstable-x86_64/PKGBUILD (rev 0) +++ repos/kde-unstable-x86_64/PKGBUILD 2022-12-22 21:47:43 UTC (rev 464761) @@ -0,0 +1,31 @@ +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=qt6-grpc +_qtver=6.5.0-beta1 +pkgver=${_qtver/-/} +pkgrel=1 +arch=(x86_64) +url='https://www.qt.io' +license=(GPL3 LGPL3 FDL custom) +pkgdesc='Provides the modules QtGrpc and QtProtobuf' +depends=(qt6-base grpc) +makedepends=(cmake ninja protobuf) +groups=(qt6) +options=(debug) +_pkgfn=${pkgname/6-/}-everywhere-src-$_qtver +source=(https://download.qt.io/development_releases/qt/${pkgver%.*}/$_qtver/submodules/$_pkgfn.tar.xz) +sha256sums=('25a16e63226b9e6005d1aa28143e8367a38aaa44176cd4704458e61b41ffea62') + +build() { + cmake -B build -S $_pkgfn -G Ninja \ + -DCMAKE_MESSAGE_LOG_LEVEL=STATUS + 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 +}