┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/PKGBUILD
blob: af56656982468f02f8b564deec9555b5a880d97f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Maintainer: Antonio Rojas <arojas@archlinux,org>
# Maintainer: Felix Yan <[email protected]>
# Contributor: Andrea Scarpino <[email protected]>
# Contributor: Pierre Schmitz <[email protected]>

pkgname=dolphin
pkgver=22.12.0
pkgrel=2
pkgdesc='KDE File Manager'
arch=(x86_64)
url='https://apps.kde.org/dolphin/'
license=(LGPL)
depends=(baloo-widgets knewstuff kio-extras kcmutils kparts kactivities kuserfeedback)
makedepends=(extra-cmake-modules kdoctools)
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')
groups=(kde-applications kde-system)
source=(https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz{,.sig}
        https://invent.kde.org/system/dolphin/-/commit/c8aed8ac.patch)
sha256sums=('487c04953a7b505a638adce16cb3d4df3a3345ffc27e069d4f84730e4ad6ac26'
            'SKIP'
            'ce74e2e5079ebe2522bf2420c25a74a524cef47502311bb7e602d906813fcf24')
validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid <[email protected]>
              F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87  # Christoph Feck <[email protected]>
              D81C0CB38EB725EF6691C385BB463350D6EF31EF) # Heiko Becker <[email protected]>
options=(debug)

prepare() {
  patch -d $pkgname-$pkgver -p1 < c8aed8ac.patch # Fix copy-pasting issues
}

build() {
  cmake -B build -S $pkgname-$pkgver \
    -DBUILD_TESTING=OFF
  cmake --build build
}

package() {
  DESTDIR="$pkgdir" cmake --install build
}