desktop/kdb/PKGBUILD

36 lines
875 B
Bash
Raw Normal View History

2016-10-06 15:25:22 +08:00
# Contributions from Arch:
# Maintainer: Antonio Rojas <arojas@archlinux.org>
pkgname=kdb
2018-03-12 12:43:44 +08:00
pkgver=3.1.0
2016-10-06 15:25:22 +08:00
pkgrel=1
pkgdesc="A database connectivity and creation framework for various database vendors"
2018-03-12 12:43:44 +08:00
arch=(x86_64)
2016-10-06 15:25:22 +08:00
url="http://www.kexi-project.org/"
license=(GPL2)
depends=(kcoreaddons)
2018-03-12 12:43:44 +08:00
makedepends=(extra-cmake-modules python2 libmariadbclient postgresql qt5-tools doxygen)
2016-10-06 15:25:22 +08:00
optdepends=('mariadb: MySQL plugin' 'postgresql: PostgreSQL plugin')
2018-03-12 12:43:44 +08:00
source=("https://download.kde.org/stable/$pkgname/src/$pkgname-$pkgver.tar.xz")
sha1sums=('5dc8275617998cb2c68526883a4670b0de518c55')
2016-10-06 15:25:22 +08:00
prepare() {
mkdir -p build
}
build() {
cd build
2017-08-12 07:52:36 +08:00
cmake ../$pkgname-${pkgver} \
2016-10-06 15:25:22 +08:00
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
2018-03-12 12:43:44 +08:00
-DCMAKE_INSTALL_LIBDIR=lib \
2016-10-06 15:25:22 +08:00
-DBUILD_TESTING=OFF \
2018-03-12 12:43:44 +08:00
-DBUILD_QCH=ON
2016-10-06 15:25:22 +08:00
make
}
package() {
cd build
make DESTDIR="$pkgdir" install
}