archrelease: copy trunk to extra-x86_64
[arch-packages.git] / kfilemetadata / repos / extra-x86_64 / PKGBUILD
blob18605c574d376fdcf895a9df33facd41e954a3e8
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 # Contributor: Andrea Scarpino <andrea@archlinux.org>
5 pkgname=kfilemetadata
6 pkgver=5.106.0
7 pkgrel=1
8 pkgdesc='A library for extracting file metadata'
9 arch=(x86_64)
10 url='https://community.kde.org/Frameworks'
11 license=(LGPL)
12 depends=(ki18n karchive kconfig kcoreaddons exiv2 poppler-qt5 taglib ffmpeg ebook-tools)
13 optdepends=('catdoc: Extract text from Office 98 files'
14             'kdegraphics-mobipocket: MOBI extractor'
15             'libappimage: AppImage extractor')
16 makedepends=(extra-cmake-modules catdoc doxygen qt5-tools qt5-doc libappimage kdegraphics-mobipocket)
17 groups=(kf5)
18 source=(https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz{,.sig})
19 sha256sums=('c5b249284064f123819d080e2d698b5fa1d02538587d985886e57e8391ca32d2'
20             'SKIP')
21 validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure@kde.org>
23 build() {
24   cmake -B build -S $pkgname-$pkgver \
25     -DBUILD_TESTING=OFF \
26     -DBUILD_QCH=ON
27   cmake --build build
30 package() {
31   DESTDIR="$pkgdir" cmake --install build