# include global config source ../_buildscripts/${current_repo}-${_arch}-cfg.conf pkgname=oxygen pkgver=${_plasmaver} pkgrel=1 pkgdesc='Oxygen Style for Qt/KDE Applications' arch=('x86_64') url='https://invent.kde.org/plasma/oxygen' license=('LGPL') depends=('ki18n6' 'kconfig6' 'kguiaddons6' 'kwidgetsaddons6' 'kservice6' 'kcompletion6' 'frameworkintegration6' 'kwindowsystem6' 'kcoreaddons6' 'kconfigwidgets6' 'kdecoration' 'kcmutils6' 'libplasma') makedepends=('extra-cmake-modules') groups=('kdeplasma6') source=("https://download.kde.org/stable/plasma/${pkgver}/${pkgname}-${pkgver}.tar.xz") #source=("${pkgname}-${pkgver}.tar.gz::https://github.com/KDE/${pkgname}/archive/${_branch}.tar.gz") md5sums=(`grep ${pkgname}-${_plasmaver}.tar.xz ../kf6.md5 | cut -d" " -f1`) build() { cmake -B build -S ${pkgname}-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DKDE_INSTALL_LIBDIR=lib \ -DBUILD_TESTING=OFF \ -DQT_MAJOR_VERSION=6 \ -DBUILD_QT6=ON \ -DBUILD_QT5=OFF cmake --build build } package() { DESTDIR=${pkgdir} cmake --install build }