# include global config source ../_buildscripts/${current_repo}-${_arch}-cfg.conf pkgname=breeze-icons pkgver=${_kf6ver} pkgrel=1 pkgdesc='Breeze icon theme.' arch=('x86_64') url='https://invent.kde.org/frameworks/breeze-icons' license=('LGPL') depends=('qt6-base') makedepends=('extra-cmake-modules' 'python3-lxml') groups=('kf6' 'kf5') replaces=('breeze-icons6') source=("https://download.kde.org/unstable/frameworks/${pkgver}/${pkgname}-${pkgver}.tar.xz") md5sums=(`grep ${pkgname}-${_kf6ver}.tar.xz ../kf6.md5 | cut -d" " -f1`) prepare () { cd ${pkgname}-${pkgver} #sed -i -e 's|actions apps categories|actions applets apps categories|' icons-dark/CMakeLists.txt } build () { cmake -B build -S ${pkgname}-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DKDE_INSTALL_LIBDIR=lib \ -DBINARY_ICONS_RESOURCE=ON cmake --build build } package() { DESTDIR=${pkgdir} cmake --install build }