archrelease: copy trunk to extra-x86_64
[arch-packages.git] / kreport / trunk / PKGBUILD
blobf2e7a21c760a741a3d2a8b9a10625440ec81b5c4
1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 pkgname=kreport
4 pkgver=3.2.0
5 pkgrel=4
6 pkgdesc='A framework for creation and generation of reports in multiple formats'
7 arch=(x86_64)
8 url='https://apps.kde.org/es/kexi-3.3/'
9 license=(GPL2)
10 depends=(kproperty qt5-declarative)
11 makedepends=(extra-cmake-modules python qt5-tools marble-common doxygen qt5-doc)
12 optdepends=('marble-common: support for maps in reports')
13 source=(https://download.kde.org/stable/$pkgname/src/$pkgname-$pkgver.tar.xz{,.sig}
14         https://invent.kde.org/libraries/kreport/-/commit/5d3053ea.patch)
15 sha256sums=('22716d719654e8f887fe4d33654e252ddf3d3d818c44e15a8af0e6f2e7d6ccd7'
16             'SKIP'
17             'c4f0b7ead3b0ffb1bd1d1997a78a48496c1de5dea11d48c2b9491cbabf4c5543')
18 validpgpkeys=(4866BAF713B465677A4059643C7C0E201B6524DB) # JarosÅ‚aw Staniek <staniek@kde.org>
20 prepare() {
21   patch -d $pkgname-$pkgver -p1 < 5d3053ea.patch # Fix missing symbols with GCC 10
24 build() {
25   cmake -B build -S $pkgname-$pkgver \
26     -DCMAKE_INSTALL_PREFIX=/usr \
27     -DBUILD_TESTING=OFF \
28     -DBUILD_QCH=ON
29   cmake --build build
32 package() {
33   DESTDIR="$pkgdir" cmake --install build