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