archrelease: copy trunk to testing-x86_64
[arch-packages.git] / kio-extras / trunk / PKGBUILD
blobee90a89e108b67ad1a24e78430fbe61cafa81f24
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=23.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 libkexiv2 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 sha256sums=('0db97164276d609c2c03acbe3f9c24000f0330e8e4f5bf7b3fad68ecbd7b60d1'
21             'SKIP')
22 validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid <aacid@kde.org>
23               F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87  # Christoph Feck <cfeck@kde.org>
24               D81C0CB38EB725EF6691C385BB463350D6EF31EF) # Heiko Becker <heiko.becker@kde.org>
26 build() {
27   cmake -B build -S $pkgname-$pkgver \
28     -DLIBAPPIMAGE_LIBRARIES=libappimage.so \
29     -DCMAKE_INSTALL_LIBEXECDIR=lib \
30     -DBUILD_TESTING=OFF
31   cmake --build build
34 package() {
35   DESTDIR="$pkgdir" cmake --install build