desktop/libkgapi/PKGBUILD
AlmAck 0af05b343a kde applications 16.12.0
renamed checksums to kdeapps.sums
added for all packages the pgp signature
for new/removed packages check: https://community.kde.org/Applications/16.12_Release_Notes#Tarballs_that_we_have_split
2016-12-20 21:48:24 +00:00

37 lines
1.0 KiB
Bash

pkgname=libkgapi
pkgver=5.3.1
pkgrel=2
pkgdesc="A KDE-based library for accessing various Google services via their public API"
url='https://projects.kde.org/projects/extragear/libs/libkgapi'
arch=('x86_64')
license=('GPL' 'LGPL' 'FDL')
depends=('kcalcore' 'kcontacts' 'qt5-webkit')
makedepends=('extra-cmake-modules' 'python3' 'qt5-tools' 'kdoctools' 'kdesignerplugin')
source=("http://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz"
bug355908.patch::"https://cgit.kde.org/libkgapi.git/patch/?id=14a57b81")
md5sums=('5f3b1e15ce5dff404bf2a552ae67d890'
'bc20c2c79e13c339517fc87748d4f0f3')
prepare() {
mkdir -p build
cd $pkgname-$pkgver
# Fix syncing Google Calendar events https://bugs.kde.org/show_bug.cgi?id=355908
patch -p1 -i ../bug355908.patch
}
build() {
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DKDE_INSTALL_LIBDIR=lib \
-DBUILD_TESTING=OFF
make
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}