testing/kio-fuse: new aport

This commit is contained in:
Bart Ribbers 2019-12-25 11:47:49 +01:00 committed by Leo
parent c064679f7d
commit 19b21278ec
3 changed files with 51 additions and 0 deletions

45
testing/kio-fuse/APKBUILD Normal file
View File

@ -0,0 +1,45 @@
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kio-fuse
pkgver=4.90.0
pkgrel=0
arch="all"
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=RelWithDebInfo \
-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"/etc/modules-load.d/kio-fuse.conf
}
sha512sums="524b9f6559c7f30823a5e2ffddd65a36ea569bbdba493563fcf9e0a038cd897c27cdf0450a932d7307dec663e898c2f693f6ee17a679df8d4ddf566ffcab73ce kio-fuse-4.90.0.tar.xz
57d23d2778556eafc3035e6be575bf95b4032f123b35f2b1657eff5e7496de253173edc657f90531ee58e25673f4f27a5cd1cc76b14a038edb244f104a231771 modules-load.conf"

View File

@ -0,0 +1,5 @@
#!/bin/sh
modprobe fuse
exit 0

View File

@ -0,0 +1 @@
fuse