desktop/kexi/PKGBUILD
2017-08-12 01:12:33 +01:00

36 lines
831 B
Bash

# Contribution from Arch:
# Maintainer: Antonio Rojas <arojas@archlinux.org>
pkgname=kexi
pkgver=3.0.2
pkgrel=1
pkgdesc="A visual database applications creator"
arch=(x86_64)
url="http://www.kexi-project.org/"
license=(GPL2)
depends=(kdb kreport ktexteditor qt5-webkit)
makedepends=(extra-cmake-modules python3 qt5-tools breeze-icons marble libmariadbclient postgresql)
conflicts=(calligra-kexi)
replaces=(calligra-kexi)
source=("http://download.kde.org/stable/$pkgname/src/$pkgname-$pkgver.tar.xz")
sha1sums=('3fb58f0c11b1d0fbb1556e615b9772b8d3aa2b12')
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
}