# Contributor: Andrea Scarpino pkgname=kiconthemes pkgver=5.46.0 pkgrel=1 pkgdesc='Support for icon themes' arch=('x86_64') url='https://projects.kde.org/projects/frameworks/kiconthemes' license=('LGPL') depends=('qt5-svg' 'kconfigwidgets' 'kitemviews' 'karchive') makedepends=("extra-cmake-modules>=${KFECMVersion}" 'python3') checkdepends=('cmake' 'xorg-server-xvfb') groups=('kf5') options=('debug') _url="https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz" source=(${_url}{,.sig}) sha256sums=($(curl "$_url.sha256" | cut -c-64) SKIP) validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure prepare() { mkdir -p build } build() { cd build cmake ../${_pkgname}-${pkgver} \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DKDE_INSTALL_LIBDIR=lib \ -DKDE_INSTALL_SYSCONFDIR=/etc \ -DKDE_INSTALL_LIBEXECDIR=lib \ -DBUILD_TESTING=OFF \ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON "$@" make } # check() { # cd build # xvfb-run make test # } package() { cd build make DESTDIR="${pkgdir}" install }