db-move: moved gnome-weather from [staging] to [testing] (any)
[arch-packages.git] / dolphin / repos / extra-x86_64 / PKGBUILD
blobfb78cfcbf682d71379e9b6e6086b0dcfa6c092c7
1 # Maintainer: Antonio Rojas <arojas@archlinux,org>
2 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 # Contributor: Andrea Scarpino <andrea@archlinux.org>
4 # Contributor: Pierre Schmitz <pierre@archlinux.de>
6 pkgname=dolphin
7 pkgver=23.04.0
8 pkgrel=3
9 pkgdesc='KDE File Manager'
10 arch=(x86_64)
11 url='https://apps.kde.org/dolphin/'
12 license=(LGPL)
13 depends=(baloo-widgets knewstuff kio-extras kcmutils kparts kactivities kuserfeedback)
14 makedepends=(extra-cmake-modules kdoctools)
15 optdepends=('kde-cli-tools: for editing file type options' 'ffmpegthumbs: video thumbnails' 'kdegraphics-thumbnailers: PDF and PS thumbnails'
16             'konsole: terminal panel' 'purpose: share context menu'
17             'kio-admin: for managing files as administrator')
18 groups=(kde-applications kde-system)
19 source=(https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz{,.sig}
20         https://invent.kde.org/system/dolphin/-/commit/33587415.patch)
21 sha256sums=('cd49268a3b0309253587d424fbdffe25b26c951df7e6932a42f48cf34b006c50'
22             'SKIP'
23             'aa4c3652278accbaf27e8861c273778fe7fe96535218e577e95c3545803702e5')
24 validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid <aacid@kde.org>
25               F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87  # Christoph Feck <cfeck@kde.org>
26               D81C0CB38EB725EF6691C385BB463350D6EF31EF) # Heiko Becker <heiko.becker@kde.org>
28 prepare() {
29   patch -d $pkgname-$pkgver -p1 < 33587415.patch # Fix activating selection mode
32 build() {
33   cmake -B build -S $pkgname-$pkgver \
34     -DBUILD_TESTING=OFF
35   cmake --build build
38 package() {
39   DESTDIR="$pkgdir" cmake --install build