archrelease: copy trunk to extra-x86_64
[arch-packages.git] / kreport / trunk / PKGBUILD
blobc5d021e18bcea964db123876ec2883b3362293f3
1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 pkgname=kreport
4 pkgver=3.2.0
5 pkgrel=2
6 pkgdesc="A framework for creation and generation of reports in multiple formats"
7 arch=(x86_64)
8 url="http://www.kexi-project.org/"
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 sha256sums=('22716d719654e8f887fe4d33654e252ddf3d3d818c44e15a8af0e6f2e7d6ccd7'
15             'SKIP')
16 validpgpkeys=(4866BAF713B465677A4059643C7C0E201B6524DB) # JarosÅ‚aw Staniek <staniek@kde.org>
18 prepare() {
19   mkdir -p build
22 build() {
23   cd build
24   cmake ../$pkgname-$pkgver \
25     -DCMAKE_BUILD_TYPE=Release \
26     -DCMAKE_INSTALL_PREFIX=/usr \
27     -DKDE_INSTALL_LIBDIR=lib \
28     -DBUILD_TESTING=OFF \
29     -DBUILD_QCH=ON
30   make
33 package() {
34   cd build
35   make DESTDIR="$pkgdir" install