archrelease: copy trunk to extra-x86_64
[arch-packages.git] / kio-extras / trunk / PKGBUILD
bloba1fdaf88881468b7e24b383fbc11526833e718a3
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=21.12.0
7 pkgrel=1
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 sha256sums=('246234481d7a8ad4047b46cd7dde6b3eb4a7507122a0eb6df73893749ad19c96'
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