[arch-commits] Commit in kexi/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Fri May 29 09:44:01 UTC 2020


    Date: Friday, May 29, 2020 @ 09:44:01
  Author: arojas
Revision: 387805

Fix build with Qt 5.13

Modified:
  kexi/trunk/PKGBUILD

----------+
 PKGBUILD |   26 ++++++++++----------------
 1 file changed, 10 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-29 09:37:16 UTC (rev 387804)
+++ PKGBUILD	2020-05-29 09:44:01 UTC (rev 387805)
@@ -8,31 +8,25 @@
 url="http://www.kexi-project.org/"
 license=(GPL2)
 depends=(kdb kreport ktexteditor breeze-icons hicolor-icon-theme)
-makedepends=(extra-cmake-modules qt5-tools kdoctools mariadb-libs postgresql qt5-webkit doxygen marble-common)
+makedepends=(extra-cmake-modules qt5-tools kdoctools mariadb-libs postgresql qt5-webkit doxygen)
 optdepends=('qt5-webkit: Web browser plugin')
-conflicts=(calligra-kexi)
-replaces=(calligra-kexi)
-source=("https://download.kde.org/stable/$pkgname/src/$pkgname-$pkgver.tar.xz"{,.sig})
-md5sums=('90ac376276be2f5a8f6eca537ca5fd0c'
-         'SKIP')
+source=("https://download.kde.org/stable/$pkgname/src/$pkgname-$pkgver.tar.xz"{,.sig}
+         kexi-qt-5.13.patch::"https://invent.kde.org/office/kexi/-/commit/511d99b7.patch")
+sha256sums=('7a813f9ea815a09c1e733d0e7dc879c64eee85f075389e87e6aab99cf0c1c1ff'
+            'SKIP'
+            'e45a50be99bb8d18414c8b55cc7bcdb989b363c16aeeaaf4bced1d61c6b1e419')
 validpgpkeys=(4866BAF713B465677A4059643C7C0E201B6524DB) # Jarosław Staniek <staniek at kde.org>
 
-
 prepare() {
-  mkdir -p build
+  patch -d $pkgname-$pkgver -p1 -i ../kexi-qt-5.13.patch # Fix build with Qt 5.13
 }
 
 build() {
-  cd build
-  cmake ../$pkgname-$pkgver \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_INSTALL_LIBDIR=lib \
+  cmake -B build -S $pkgname-$pkgver \
     -DBUILD_TESTING=OFF
-  make
+  cmake --build build
 }
 
 package() {
-  cd build
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" cmake --install build
 }



More information about the arch-commits mailing list