desktop/libkgapi/PKGBUILD
Adrián Chaves Fernández 8dd32243a6 libkgapi 5.3.1
2016-09-18 13:44:06 +02:00

31 lines
792 B
Bash

pkgname=libkgapi
pkgver=5.3.1
pkgrel=1
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")
md5sums=('5f3b1e15ce5dff404bf2a552ae67d890')
prepare() {
mkdir -p build
}
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
}