# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kio-fuse pkgver=5.0.1 pkgrel=0 arch="all !armhf !s390x !mips64" url="https://kde.org/" pkgdesc="FUSE interface for KIO" license="GPL-3.0-only" makedepends=" extra-cmake-modules fuse3-dev kcoreaddons-dev kdbusaddons-dev kio-dev qt5-qtbase-dev " checkdepends="dbus" source="https://download.kde.org/stable/kio-fuse/$pkgver/kio-fuse-$pkgver.tar.xz modules-load.conf " install="$pkgname.post-install" options="!check" # Only test is broken build() { cmake -B build \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" cmake --install build install -Dm644 "$srcdir"/modules-load.conf "$pkgdir"/usr/lib/modules-load.d/kio-fuse.conf # Part of systemd-tmpfiles rm -rf "$pkgdir"/usr/lib/tmpfiles.d } sha512sums="6423c461c001bb27d4e17e6f9a69e4a28c2e7834b6702bd14e4b34db9fc3156cdbb5400ec2c3f15975e78e563abbf14412f8f1b1db05f6313a8520bab030e7bd kio-fuse-5.0.1.tar.xz 57d23d2778556eafc3035e6be575bf95b4032f123b35f2b1657eff5e7496de253173edc657f90531ee58e25673f4f27a5cd1cc76b14a038edb244f104a231771 modules-load.conf"