desktop/kexi/PKGBUILD
2017-03-13 10:27:48 +00:00

36 lines
836 B
Bash

# Contribution from Arch:
# Maintainer: Antonio Rojas <arojas@archlinux.org>
pkgname=kexi
pkgver=3.0.1.1
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=('3ca4195b55f4a92907bf975e5dded013274f6eec')
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
}