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

Antonio Rojas arojas at archlinux.org
Sun Dec 13 17:01:41 UTC 2020


    Date: Sunday, December 13, 2020 @ 17:01:40
  Author: arojas
Revision: 404285

archrelease: copy trunk to extra-x86_64

Added:
  kdb/repos/extra-x86_64/PKGBUILD
    (from rev 404284, kdb/trunk/PKGBUILD)
Deleted:
  kdb/repos/extra-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-13 17:01:25 UTC (rev 404284)
+++ PKGBUILD	2020-12-13 17:01:40 UTC (rev 404285)
@@ -1,40 +0,0 @@
-# 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
-}

Copied: kdb/repos/extra-x86_64/PKGBUILD (from rev 404284, kdb/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-12-13 17:01:40 UTC (rev 404285)
@@ -0,0 +1,37 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=kdb
+pkgver=3.2.0
+pkgrel=5
+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://invent.kde.org/libraries/kdb/-/commit/40cdaea4.patch"
+         kdb-mkspecs-path.patch::"https://invent.kde.org/libraries/kdb/-/merge_requests/6.patch")
+sha256sums=('8f8983bc8d143832dc14bc2003ba6af1af27688e477c0c791fd61445464f2069'
+            'SKIP'
+            '7c67b4b349432cbe44413758dcd020600eca1366c82fb2d02c361dbf66e8d0f7'
+            '2efccec64624d2d38b40f13ae6a508439e0f90330d5124c884c16fce461a2988')
+validpgpkeys=(4866BAF713B465677A4059643C7C0E201B6524DB) # Jarosław Staniek <staniek at kde.org>
+
+
+prepare() {
+  patch -d $pkgname-$pkgver -p1 -i ../kdb-postgresql-12.patch # Fix build with postgresql 12
+  patch -d $pkgname-$pkgver -p1 -i ../kdb-mkspecs-path.patch # Fix mkspecs install dir
+}
+
+build() {
+  cmake -B build -S $pkgname-$pkgver \
+    -DBUILD_TESTING=OFF \
+    -DBUILD_QCH=ON
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+}



More information about the arch-commits mailing list