archrelease: copy trunk to extra-x86_64
[arch-packages.git] / kfilemetadata / repos / extra-x86_64 / PKGBUILD
blob3c2176aafef23d1151fe61b251d224a017f47752
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.104.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=('1e4f199e1eeec6a7a173172e234c42423381e756aef36e74bd6fb1e96d6dd504'
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