Commit 75043a91 authored by Jeff Huang's avatar Jeff Huang 🤔

kdb: import as kexi's new dependency.

parent 6fc9c17c
# Contributions from Arch:
# Maintainer: Antonio Rojas <arojas@archlinux.org>
pkgname=kdb
pkgver=3.0.0
pkgrel=1
pkgdesc="A database connectivity and creation framework for various database vendors"
arch=(i686 x86_64)
url="http://www.kexi-project.org/"
license=(GPL2)
depends=(kcoreaddons)
makedepends=(extra-cmake-modules python2 libmariadbclient postgresql ki18n)
optdepends=('mariadb: MySQL plugin' 'postgresql: PostgreSQL plugin')
source=("http://download.kde.org/stable/$pkgname/src/$pkgname-$pkgver.tar.xz")
sha1sums=('90265f8436fc19136a9ed709fae4e6413f0cfa3b')
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
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment