diff options
-rw-r--r-- | .SRCINFO | 22 | ||||
-rw-r--r-- | PKGBUILD | 19 |
2 files changed, 24 insertions, 17 deletions
@@ -1,22 +1,28 @@ pkgbase = kdesu-git pkgdesc = Integration with su for elevated privileges - pkgver = 5.79.0_r437.g0ea8a6e + pkgver = 6.0.0_r628.g64c345d pkgrel = 1 url = https://community.kde.org/Frameworks arch = x86_64 - groups = kf5-git - license = LGPL + groups = kf6-git + license = LGPL-2.0-only + license = LGPL-3.0-only makedepends = git - makedepends = extra-cmake-modules-git makedepends = doxygen - makedepends = qt5-tools - makedepends = qt5-doc - depends = kservice-git + makedepends = extra-cmake-modules-git + makedepends = qt6-doc + makedepends = qt6-tools + depends = gcc-libs + depends = glibc + depends = kconfig-git + depends = kcoreaddons-git + depends = ki18n-git depends = kpty-git + depends = libx11 + depends = qt6-base provides = kdesu conflicts = kdesu source = git+https://github.com/KDE/kdesu.git sha256sums = SKIP pkgname = kdesu-git - @@ -1,30 +1,31 @@ # Merged with official ABS kdesu PKGBUILD by João, 2021/02/01 (all respective contributors apply herein) -# Maintainer: João Figueiredo <jf.mundox@gmail.com> +# Maintainer: João Figueiredo & chaotic-aur <islandc0der@chaotic.cx> # Contributor: Andrea Scarpino <andrea@archlinux.org> pkgname=kdesu-git -pkgver=5.79.0_r437.g0ea8a6e +pkgver=6.0.0_r628.g64c345d pkgrel=1 pkgdesc='Integration with su for elevated privileges' arch=($CARCH) url='https://community.kde.org/Frameworks' -license=(LGPL) -depends=(kservice-git kpty-git) -makedepends=(git extra-cmake-modules-git doxygen qt5-tools qt5-doc) +license=(LGPL-2.0-only LGPL-3.0-only) +depends=(gcc-libs glibc kconfig-git kcoreaddons-git ki18n-git kpty-git libx11 qt6-base) +makedepends=(git doxygen extra-cmake-modules-git qt6-doc qt6-tools) conflicts=(${pkgname%-git}) provides=(${pkgname%-git}) -groups=(kf5-git) +groups=(kf6-git) source=("git+https://github.com/KDE/${pkgname%-git}.git") sha256sums=('SKIP') pkgver() { cd ${pkgname%-git} - _ver="$(grep -m1 "set(KF5\?_VERSION" CMakeLists.txt | cut -d '"' -f2 | tr - .)" + _ver="$(grep -m1 'set(KF_VERSION' CMakeLists.txt | cut -d '"' -f2 | tr - .)" echo "${_ver}_r$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)" } build() { cmake -B build -S ${pkgname%-git} \ + -DQT_MAJOR_VERSION=6 \ -DCMAKE_INSTALL_LIBEXECDIR=lib \ -DBUILD_TESTING=OFF \ -DBUILD_QCH=ON @@ -35,6 +36,6 @@ package() { DESTDIR="$pkgdir" cmake --install build # See FS#44277 - chown :nobody "$pkgdir"/usr/lib/kf5/kdesud - chmod g+s "$pkgdir"/usr/lib/kf5/kdesud + chown :nobody "$pkgdir"/usr/lib/kf6/kdesud + chmod g+s "$pkgdir"/usr/lib/kf6/kdesud } |