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

Antonio Rojas arojas at archlinux.org
Wed Apr 22 17:16:37 UTC 2020


    Date: Wednesday, April 22, 2020 @ 17:16:37
  Author: arojas
Revision: 617674

Fix crash at startup with kbookmarks 5.69

Modified:
  kjots/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-22 16:40:37 UTC (rev 617673)
+++ PKGBUILD	2020-04-22 17:16:37 UTC (rev 617674)
@@ -2,7 +2,7 @@
 
 pkgname=kjots
 pkgver=5.0.2
-pkgrel=4
+pkgrel=5
 pkgdesc="A note taking application for KDE"
 url="https://www.kde.org/applications/utilities/kjots/"
 arch=(x86_64)
@@ -9,17 +9,21 @@
 license=(GPL)
 depends=(kcmutils kontactinterface akonadi akonadi-notes kpimtextedit)
 makedepends=(extra-cmake-modules kdoctools boost kdelibs4support)
-source=("https://download.kde.org/stable/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz")
-sha256sums=('5359aefb7b44027d7abbdafb0d501a7b30695119d5d5c8a75cfcee98e428fae3')
+source=("https://download.kde.org/stable/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz"
+         kjots-kbookmarks-5.69.patch::"https://cgit.kde.org/kjots.git/patch/?id=ca6f4b96")
+sha256sums=('5359aefb7b44027d7abbdafb0d501a7b30695119d5d5c8a75cfcee98e428fae3'
+            '269986ad104cf6b99d37a88340f60a84284d9400afcd2c18c7e9ad5457d34cc1')
 
 prepare() {
   mkdir -p build
+
+  cd $pkgname-$pkgver
+  patch -p1 -i ../kjots-kbookmarks-5.69.patch # Fix crash with kbookmarks 5.69
 }
 
 build() {
   cd build 
   cmake ../$pkgname-$pkgver \
-    -DCMAKE_INSTALL_LIBDIR=lib \
     -DBUILD_TESTING=OFF 
   make
 }



More information about the arch-commits mailing list