# Maintainer: Antonio Rojas # Maintainer: Felix Yan # Contributor: Andrea Scarpino # Contributor: Pierre Schmitz pkgname=dolphin-duckspace _pkgname=dolphin pkgver=20.12.0 pkgrel=1 pkgdesc="KDE File Manager (with DuckSoft's Space Patch)" arch=(x86_64) url="https://kde.org/applications/system/dolphin/" license=(LGPL) provides=(dolphin) conflicts=(dolphin) depends=(baloo-widgets knewstuff kio-extras kcmutils kparts kinit kactivities kuserfeedback) makedepends=(extra-cmake-modules kdoctools packagekit-qt5) optdepends=('kde-cli-tools: for editing file type options' 'ffmpegthumbs: video thumbnails' 'kdegraphics-thumbnailers: PDF and PS thumbnails' 'konsole: terminal panel' 'purpose: share context menu' 'packagekit-qt5: service menu installer') groups=(kde-applications kde-system) source=("https://download.kde.org/stable/release-service/$pkgver/src/$_pkgname-$pkgver.tar.xz"{,.sig} "ducksoft-want-my-space-back.patch") sha256sums=('02b384e85b00aaaf1b4efd7ee7ca9d2f98991b850aa3645b7161219e9087ccd3' 'SKIP' 'SKIP') validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck prepare() { cd "$srcdir"/$_pkgname-$pkgver patch -p1 < ../ducksoft-want-my-space-back.patch } build() { cmake -B build -S $_pkgname-$pkgver \ -DBUILD_TESTING=OFF cmake --build build } package() { DESTDIR="$pkgdir" cmake --install build }