archrelease: copy trunk to extra-x86_64
[arch-packages.git] / kfilemetadata / repos / staging-x86_64 / PKGBUILD
blob796006dfd29cba0572c9f1e3b349cfdef67213ac
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.90.0
7 pkgrel=2
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 makedepends=(extra-cmake-modules catdoc doxygen qt5-tools qt5-doc libappimage)
15 optdepends=('libappimage: AppImage extractor')
16 groups=(kf5)
17 source=(https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz{,.sig})
18 sha256sums=('5d7951e05ae9e6b9c3c271ddc38e9e73f6e1824268770b2a32aaa30f8d5dc4a3'
19             'SKIP')
20 validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure@kde.org>
22 build() {
23   cmake -B build -S $pkgname-$pkgver \
24     -DBUILD_TESTING=OFF \
25     -DBUILD_QCH=ON
26   cmake --build build
29 package() {
30   DESTDIR="$pkgdir" cmake --install build