From 454b7c9151ee3c96655b6f9ce1c3713cc4119390 Mon Sep 17 00:00:00 2001 From: Andreas Grapentin Date: Tue, 26 Feb 2019 16:51:56 +0100 Subject: libre/libkgapi: added --- libre/libkgapi/PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 libre/libkgapi/PKGBUILD (limited to 'libre/libkgapi/PKGBUILD') diff --git a/libre/libkgapi/PKGBUILD b/libre/libkgapi/PKGBUILD new file mode 100644 index 000000000..53cc89971 --- /dev/null +++ b/libre/libkgapi/PKGBUILD @@ -0,0 +1,45 @@ +# Maintainer (Arch): Antonio Rojas +# Contributor (Arch): Andrea Scarpino + +# parabola changes and rationale: +# - reverting from qt5-webengine back to qt5-webkit + +pkgname=libkgapi +pkgver=18.12.2 +pkgrel=1 +pkgrel+=.parabola1 +pkgdesc="A KDE-based library for accessing various Google services via their public API" +pkgdesc+=" (without nonfree qt5-webengine)" +url='https://www.kde.org/' +arch=(x86_64) +arch+=(i686 armv7h) +license=(GPL LGPL FDL) +depends=(kcalcore kcontacts qt5-webkit kio) +makedepends=(extra-cmake-modules qt5-tools) +source=("https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig} + libre.patch) +sha256sums=('041aa032397e254d6c8f20240d5c3de072a8e06521143c5a614c78ebe04696a7' + 'SKIP' + '7ca4817130bc78822798c1fc54e6800db4283da858ba2a142fc5110c48221000') +validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid + F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck + +prepare() { + mkdir -p build + cd $pkgname-$pkgver + patch -Np1 -i "$srcdir"/libre.patch +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_TESTING=OFF + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install +} -- cgit v1.2.3