# Contributor: Bart Ribbers # Maintainer: Bart Ribbers # The group tag is just to easily find this APKBUILD by some scripts for automation # group=maui pkgname=mauikit-filebrowsing pkgver=2.2.1 pkgrel=0 pkgdesc="MauiKit File Browsing utilities and controls" # armhf blocked by extra-cmake-modules arch="all !armhf" url="https://mauikit.org/" license="GPL-2.0-or-later" depends=" kirigami2 " depends_dev=" kio-dev mauikit-dev qt5-qtbase-dev " makedepends="$depends_dev extra-cmake-modules samurai " source="https://download.kde.org/stable/maui/mauikit-filebrowsing/$pkgver/mauikit-filebrowsing-$pkgver.tar.xz" subpackages="$pkgname-dev" _commit="" _repo_url="https://invent.kde.org/maui/mauikit-filebrowsing.git" snapshot() { clean makedepends="git xz rsync tar" deps mkdir -p "$srcdir" && cd "$srcdir" git clone --filter=tree:0 $_repo_url . git archive --format tar --prefix=$pkgname/ $_commit > ../$pkgname-$_commit.tar xz -vv -T0 -9 -e ../$pkgname-$_commit.tar } build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { ctest --test-dir build --output-on-failure } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" f1a1e71424ec76541c8751e3ef08e6a33967004a5a5e64e8436dc0427326342feebc125da545ebcddedda6b99c8b04af3b6fdb5143302f27317691e5099a0b92 mauikit-filebrowsing-2.2.1.tar.xz "