2016-10-06 15:39:03 +08:00
|
|
|
# Contribution from Arch:
|
|
|
|
# Maintainer: Antonio Rojas <arojas@archlinux.org>
|
|
|
|
|
|
|
|
pkgname=kreport
|
2017-08-12 08:00:04 +08:00
|
|
|
pkgver=3.0.2
|
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)
|
|
|
|
makedepends=(extra-cmake-modules python2 ki18n marble)
|
|
|
|
optdepends=('marble: support for maps in reports')
|
|
|
|
source=("http://download.kde.org/stable/$pkgname/src/$pkgname-$pkgver.tar.xz")
|
2017-08-12 08:00:04 +08:00
|
|
|
sha1sums=('86605f456da9fb7b541756a6a4ad47cdcc8a0098')
|
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 \
|
|
|
|
-DBUILD_TESTING=OFF \
|
|
|
|
-DKDE_INSTALL_LIBDIR=lib
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd build
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
}
|