desktop/kreport/PKGBUILD
2017-08-12 01:00:04 +01:00

35 lines
810 B
Bash

# Contribution from Arch:
# Maintainer: Antonio Rojas <arojas@archlinux.org>
pkgname=kreport
pkgver=3.0.2
pkgrel=1
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")
sha1sums=('86605f456da9fb7b541756a6a4ad47cdcc8a0098')
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
}