desktop/kexi/PKGBUILD
2018-03-12 05:02:11 +00:00

36 lines
852 B
Bash

# Contribution from Arch:
# Maintainer: Antonio Rojas <arojas@archlinux.org>
pkgname=kexi
pkgver=3.1.0
pkgrel=1
pkgdesc="A visual database applications creator"
arch=(x86_64)
url="http://www.kexi-project.org/"
license=(GPL2)
depends=(kdb kreport ktexteditor marble breeze-icons qt5-webkit)
makedepends=(extra-cmake-modules python3 qt5-tools kdoctools libmariadbclient postgresql doxygen)
conflicts=(calligra-kexi)
replaces=(calligra-kexi)
source=("https://download.kde.org/stable/$pkgname/src/$pkgname-$pkgver.tar.xz")
sha1sums=('9bd27ba878de51d6f7b6f9e7973b4e69ab03c546')
prepare() {
mkdir -p build
}
build() {
cd build
cmake ../$pkgname-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_TESTING=OFF
make
}
package() {
cd build
make DESTDIR="$pkgdir" install
}