archrelease: copy trunk to extra-x86_64
[arch-packages.git] / kio-extras / repos / extra-x86_64 / PKGBUILD
bloba596219e7db806d10efce384d2b54ed29c966312
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 # Contributor: Andrea Scarpino <andrea@archlinux.org>
5 pkgname=kio-extras
6 pkgver=22.04.0
7 pkgrel=2
8 pkgdesc='Additional components to increase the functionality of KIO'
9 arch=(x86_64)
10 url='https://www.kde.org/'
11 license=(LGPL)
12 depends=(kio kdnssd libssh smbclient libmtp phonon-qt5 syntax-highlighting kdsoap-ws-discovery-client libxcursor)
13 makedepends=(extra-cmake-modules kdoctools gperf taglib libappimage openexr kactivities-stats)
14 optdepends=('qt5-imageformats: thumbnails for additional image formats' 'perl: info kioslave'
15             'kimageformats: thumbnails for additional image formats' 'taglib: audio file thumbnails'
16             'libappimage: AppImage thumbnails' 'icoutils: Windows executable thumbnails'
17             'openexr: EXR format thumbnails' 'kactivities-stats: recently used kioslave')
18 groups=(kde-applications kde-network)
19 source=(https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz{,.sig}
20         https://invent.kde.org/network/kio-extras/-/commit/afe11f24.patch)
21 sha256sums=('e6789828e2fb1a38b7633ad1de8ce9ae9296ebee5cfe12f09e8989c06b8472c6'
22             'SKIP'
23             '8de7ec1e47d852bacd41e4412aacbe539328e004eaa3f74351adc5aa4ee3e131')
24 validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid <aacid@kde.org>
25               F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87  # Christoph Feck <cfeck@kde.org>
26               D81C0CB38EB725EF6691C385BB463350D6EF31EF) # Heiko Becker <heiko.becker@kde.org>
27 options=(debug)
29 prepare() {
30   patch -d $pkgname-$pkgver -p1 < afe11f24.patch # Fix dir mime type on fish
33 build() {
34   cmake -B build -S $pkgname-$pkgver \
35     -DLIBAPPIMAGE_LIBRARIES=libappimage.so \
36     -DCMAKE_INSTALL_LIBEXECDIR=lib \
37     -DBUILD_TESTING=OFF
38   cmake --build build
41 package() {
42   DESTDIR="$pkgdir" cmake --install build