2016-10-06 15:25:22 +08:00
|
|
|
# Contributions from Arch:
|
|
|
|
# Maintainer: Antonio Rojas <arojas@archlinux.org>
|
|
|
|
|
|
|
|
pkgname=kdb
|
2017-03-11 21:10:38 +08:00
|
|
|
pkgver=3.0.1
|
2016-10-06 15:25:22 +08:00
|
|
|
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")
|
2017-03-11 21:10:38 +08:00
|
|
|
sha1sums=('aea43a6d61f9783aaf446aa83a93e4cdf2fce1b8')
|
2016-10-06 15:25:22 +08:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|