36 lines
1.1 KiB
Text
36 lines
1.1 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=libkgapi
|
|
pkgver=18.08.1
|
|
pkgrel=0
|
|
pkgdesc='LibKGAPI is a KDE-based library for accessing various Google services via their public API'
|
|
arch="all"
|
|
url='https://community.kde.org/KDE_PIM'
|
|
license="LGPL-2.1"
|
|
depends=""
|
|
depends_dev="qt5-qtbase-dev qt5-qtwebengine-dev kio-dev kwindowsystem-dev kwallet-dev kcalcore-dev kcontacts-dev
|
|
cyrus-sasl-dev"
|
|
makedepends="$depends_dev extra-cmake-modules qt5-qttools-dev"
|
|
source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"
|
|
subpackages="$pkgname-dev"
|
|
options="!check" # Broken
|
|
|
|
build() {
|
|
cmake \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DKDE_INSTALL_LIBDIR=lib \
|
|
-DBUILD_QCH=ON
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
sha512sums="31c9b1ab3f35ce431bf7ae5004f68b50d517dd2798745ba68bd1907f518edb832406c4ebe39149451161e4fe3f2523060a3c49676221ba254e87f4d5c0edacce libkgapi-18.08.1.tar.xz"
|