summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJoão Figueiredo2023-02-13 00:56:38 +0000
committerJoão Figueiredo2023-02-13 00:56:38 +0000
commit7c284710b6ad9429e2b34ac483cb9e6a98169864 (patch)
tree7e5acc2f37ee61d9f83ebc3fa327389a31960be6 /PKGBUILD
parent747141dd6ed4be38a1d5fd792c5eed9b0ff17b61 (diff)
downloadaur-7c284710b6ad9429e2b34ac483cb9e6a98169864.tar.gz
Migrate to Qt6 (for real)
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ae649ab41568..3b084aceacbb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,28 +3,29 @@
# Contributor: Andrea Scarpino <andrea@archlinux.org>
pkgname=kpty-git
-pkgver=5.83.0_r325.g231faa0
+pkgver=5.240.0_r413.g58baed4
pkgrel=1
pkgdesc='Pty abstraction'
arch=($CARCH)
url='https://community.kde.org/Frameworks'
license=(LGPL)
depends=(kcoreaddons-git ki18n-git libutempter)
-makedepends=(git extra-cmake-modules-git doxygen qt5-tools)
+makedepends=(git extra-cmake-modules-git doxygen 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 \
-DBUILD_TESTING=OFF \
-DBUILD_QCH=ON
cmake --build build