# include global config source ../_buildscripts/${current_repo}-${_arch}-cfg.conf pkgname=kiconthemes6 _pkgname=kiconthemes pkgver=${_kf6ver} pkgrel=1 pkgdesc='Icon GUI utilities' arch=('x86_64') url='https://invent.kde.org/frameworks/kiconthemes' license=('LGPL') depends=('qt6-svg' 'kconfig6' 'kitemviews6' 'breeze-icons') makedepends=('extra-cmake-modules' 'qt6-tools') groups=('kf6') source=("https://download.kde.org/stable/frameworks/5.99/${_pkgname}-${pkgver}.tar.xz") md5sums=(`grep ${_pkgname}-$_kf6ver.tar.xz ../kf6.md5 | cut -d" " -f1`) prepare() { cd ${_pkgname}-${pkgver} #patch -p1 -R -i ${srcdir}/a1a49a3d153798ed22ac5b6eba1883ef06756339.diff } build() { cmake -B build -S ${_pkgname}-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DKDE_INSTALL_LIBDIR=lib \ -DBUILD_TESTING=OFF cmake --build build } package() { DESTDIR=${pkgdir} cmake --install build }