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

Antonio Rojas arojas at archlinux.org
Sat Aug 24 18:14:28 UTC 2019


    Date: Saturday, August 24, 2019 @ 18:14:27
  Author: arojas
Revision: 501520

libkgapi 19.08 rebuild

Modified:
  kio-gdrive/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-24 17:46:22 UTC (rev 501519)
+++ PKGBUILD	2019-08-24 18:14:27 UTC (rev 501520)
@@ -2,7 +2,7 @@
 
 pkgname=kio-gdrive
 pkgver=1.2.6
-pkgrel=1
+pkgrel=2
 arch=(x86_64)
 pkgdesc="KIO Slave to access Google Drive"
 url="https://community.kde.org/KIO_GDrive"
@@ -9,19 +9,23 @@
 license=(GPL)
 depends=(libkgapi kaccounts-providers)
 makedepends=(extra-cmake-modules kdesignerplugin kdoctools intltool)
-source=(https://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz{,.sig})
+source=(https://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz{,.sig}
+        kio-gdrive-libkgapi-19.08.patch::"https://cgit.kde.org/kio-gdrive.git/patch/?id=b11f84ba")
 sha256sums=('7a9169e1d464641eb0ae4013ca1732b46bdfd50a13b3e87810c19ba794527f7b'
-            'SKIP')
+            'SKIP'
+            '2c3cc73e2382390cd39fd7ef122592b4cf7f206e33406fb28126c1bdf29e53d9')
 validpgpkeys=('F07D85CAA18ACF46A346FD017C7FC6EA8633B4EA') # Elvis Angelaccio <elvis.angelaccio at kde.org>
 
 prepare() {
   mkdir -p build
+
+  cd $pkgname-$pkgver
+  patch -p1 -i ../kio-gdrive-libkgapi-19.08.patch # Fix build with libkgapi 19.08
 }
 
 build() {
   cd build
-  cmake ../$pkgname-$pkgver \
-   -DCMAKE_INSTALL_PREFIX=/usr
+  cmake ../$pkgname-$pkgver
   make
 }
 



More information about the arch-commits mailing list