[arch-commits] Commit in kdb/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Mon Apr 27 19:10:41 UTC 2020


    Date: Monday, April 27, 2020 @ 19:10:40
  Author: foutrelis
Revision: 381756

archrelease: copy trunk to staging-x86_64

Added:
  kdb/repos/staging-x86_64/
  kdb/repos/staging-x86_64/PKGBUILD
    (from rev 381755, kdb/trunk/PKGBUILD)

----------+
 PKGBUILD |   40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

Copied: kdb/repos/staging-x86_64/PKGBUILD (from rev 381755, kdb/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-04-27 19:10:40 UTC (rev 381756)
@@ -0,0 +1,40 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=kdb
+pkgver=3.2.0
+pkgrel=4
+pkgdesc="A database connectivity and creation framework for various database vendors"
+arch=(x86_64)
+url="http://www.kexi-project.org/"
+license=(GPL2)
+depends=(kcoreaddons)
+makedepends=(extra-cmake-modules python mariadb-libs postgresql qt5-tools doxygen qt5-doc)
+optdepends=('mariadb-libs: MySQL plugin' 'postgresql: PostgreSQL plugin')
+source=("https://download.kde.org/stable/$pkgname/src/$pkgname-$pkgver.tar.xz"{,.sig}
+         kdb-postgresql-12.patch::"https://cgit.kde.org/kdb.git/patch/src/drivers/postgresql?id=40cdaea4")
+sha256sums=('8f8983bc8d143832dc14bc2003ba6af1af27688e477c0c791fd61445464f2069'
+            'SKIP'
+            'c576a6375d6694c6ca017737ee959f2fe079abd5deb56bd5e1a0674f8812cb76')
+validpgpkeys=(4866BAF713B465677A4059643C7C0E201B6524DB) # Jarosław Staniek <staniek at kde.org>
+
+
+prepare() {
+  mkdir -p build
+
+  cd $pkgname-$pkgver
+  patch -p1 -i ../kdb-postgresql-12.patch # Fix build with postgresql 12
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DBUILD_TESTING=OFF \
+    -DBUILD_QCH=ON
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list