# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kio-fuse pkgver=4.90.0 pkgrel=3 arch="all !armhf" url="https://kde.org/" pkgdesc="FUSE interface for KIO" license="GPL-3.0-only" makedepends="extra-cmake-modules qt5-qtbase-dev kcoreaddons-dev kdbusaddons-dev kio-dev fuse3-dev " checkdepends="dbus" source="https://download.kde.org/unstable/kio-fuse/$pkgver/kio-fuse-$pkgver.tar.xz modules-load.conf" install="$pkgname.post-install" options="!check" # Only test is broken prepare() { default_prepare mkdir "$builddir"/build } build() { cd "$builddir"/build cmake "$builddir" \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make } check() { cd "$builddir"/build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { cd "$builddir"/build DESTDIR="$pkgdir" make install 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="524b9f6559c7f30823a5e2ffddd65a36ea569bbdba493563fcf9e0a038cd897c27cdf0450a932d7307dec663e898c2f693f6ee17a679df8d4ddf566ffcab73ce kio-fuse-4.90.0.tar.xz 57d23d2778556eafc3035e6be575bf95b4032f123b35f2b1657eff5e7496de253173edc657f90531ee58e25673f4f27a5cd1cc76b14a038edb244f104a231771 modules-load.conf"