Package Details: polkit-qt5-git 0.200.0.r1.ge01dc18-1

Git Clone URL: https://aur.archlinux.org/polkit-qt6-git.git (read-only, click to copy)
Package Base: polkit-qt6-git
Description: A library that allows developers to access PolicyKit API with a nice Qt-style API
Upstream URL: https://invent.kde.org/libraries/polkit-qt-1
Licenses: BSD-3-Clause, GPL-2.0-or-later, LGPL-2.0-or-later
Conflicts: polkit-qt5
Provides: polkit-qt5
Submitter: vicr123
Maintainer: DawfukFR (xiota)
Last Packager: xiota
Votes: 1
Popularity: 0.014705
First Submitted: 2022-12-05 10:13 (UTC)
Last Updated: 2024-09-04 20:29 (UTC)

Required by (16)

Sources (1)

Latest Comments

DawfukFR commented on 2024-09-02 12:53 (UTC)

@xiota i have add you as comaintainer you can do what you need

vicr123 commented on 2023-04-02 12:56 (UTC)

Requested updates have been made to the package - sorry about the delay everyone

Rustmilian commented on 2023-03-14 14:49 (UTC) (edited on 2023-03-15 15:30 (UTC) by Rustmilian)

PKGBUILD

pkgname=polkit-qt6-git
pkgver=0.114.0.r13.g590e710
pkgrel=1
pkgdesc='A library that allows developers to access PolicyKit API with a nice Qt-style API'
arch=($CARCH)
url='https://community.kde.org/Frameworks'
license=('LGPL')
depends=('polkit' 'qt6-base' 'cmake')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("${pkgname%-git}::git+https://github.com/KDE/polkit-qt-1.git")
sha256sums=('SKIP')

pkgver() {
  cd ${pkgname%-git}
  git describe --long --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cmake -B build -S ${pkgname%-git} \
    -DCMAKE_BUILD_TYPE=Release \
    -DQT_MAJOR_VERSION=6 \
    -DCMAKE_INSTALL_PREFIX=/opt/KF5-qt6/
  cmake --build build
}


package() {
  DESTDIR="$pkgdir" cmake --install build
}

.gitignore

*
!/.gitignore
!/.SRCINFO
!/PKGBUILD

don't forget to regenerate the .SRCINFO

pmattern commented on 2023-03-09 01:43 (UTC)

You need to add cmake to makedepends.

davispuh commented on 2023-02-09 23:03 (UTC)

Hey, could you change CMAKE_INSTALL_PREFIX path to be /usr because that one will be found by default by CMake but now I need explicitly configure /opt/KF5-qt6/

Also it won't conflict with others because it still has qt6 in all the folders/names. And KDE Frameworks have switched to Qt6/KF6 now in their master branches.