2016-10-06 15:39:03 +08:00
|
|
|
# Contribution from Arch:
|
|
|
|
# Maintainer: Antonio Rojas <arojas@archlinux.org>
|
|
|
|
|
|
|
|
pkgname=kreport
|
2018-03-12 07:37:05 +08:00
|
|
|
pkgver=3.1.0
|
2017-03-11 21:05:57 +08:00
|
|
|
pkgrel=1
|
2016-10-06 15:39:03 +08:00
|
|
|
pkgdesc="A framework for creation and generation of reports in multiple formats"
|
|
|
|
arch=(x86_64)
|
|
|
|
url="http://www.kexi-project.org/"
|
|
|
|
license=(GPL2)
|
|
|
|
depends=(kproperty qt5-declarative)
|
2018-03-12 07:37:05 +08:00
|
|
|
makedepends=(extra-cmake-modules python3 qt5-tools marble)
|
2016-10-06 15:39:03 +08:00
|
|
|
optdepends=('marble: support for maps in reports')
|
2018-03-12 07:37:05 +08:00
|
|
|
source=("https://download.kde.org/stable/$pkgname/src/$pkgname-$pkgver.tar.xz")
|
|
|
|
sha1sums=('d029cd1c6719952696121cd4e5095db4d09c794d')
|
2016-10-06 15:39:03 +08:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
mkdir -p build
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd build
|
|
|
|
cmake ../$pkgname-$pkgver \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
2018-03-12 07:37:05 +08:00
|
|
|
-DKDE_INSTALL_LIBDIR=lib \
|
2016-10-06 15:39:03 +08:00
|
|
|
-DBUILD_TESTING=OFF \
|
2018-03-12 07:37:05 +08:00
|
|
|
-DBUILD_QCH=ON
|
2016-10-06 15:39:03 +08:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd build
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
}
|