2012-06-01 05:57:25 +08:00
|
|
|
pkgname=libkgapi
|
2016-09-18 19:41:59 +08:00
|
|
|
pkgver=5.3.1
|
2015-08-11 05:26:57 +08:00
|
|
|
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'
|
2012-12-24 23:38:45 +08:00
|
|
|
arch=('x86_64')
|
2015-08-11 05:26:57 +08:00
|
|
|
license=('GPL' 'LGPL' 'FDL')
|
2016-08-30 21:43:20 +08:00
|
|
|
depends=('kcalcore' 'kcontacts' 'qt5-webkit')
|
|
|
|
makedepends=('extra-cmake-modules' 'python3' 'qt5-tools' 'kdoctools' 'kdesignerplugin')
|
2015-08-11 05:26:57 +08:00
|
|
|
source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
|
2016-09-18 19:41:59 +08:00
|
|
|
md5sums=('5f3b1e15ce5dff404bf2a552ae67d890')
|
2013-12-21 00:06:41 +08:00
|
|
|
|
|
|
|
prepare() {
|
2015-08-11 05:26:57 +08:00
|
|
|
mkdir -p build
|
2013-12-21 00:06:41 +08:00
|
|
|
}
|
2012-06-01 05:57:25 +08:00
|
|
|
|
|
|
|
build() {
|
2015-08-11 05:26:57 +08:00
|
|
|
cd build
|
|
|
|
cmake ../${pkgname}-${pkgver} \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
2016-08-30 21:43:20 +08:00
|
|
|
-DKDE_INSTALL_LIBDIR=lib \
|
2015-08-11 05:26:57 +08:00
|
|
|
-DBUILD_TESTING=OFF
|
|
|
|
make
|
2012-06-01 05:57:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2015-08-11 05:26:57 +08:00
|
|
|
cd build
|
|
|
|
make DESTDIR="${pkgdir}" install
|
2015-10-19 00:19:36 +08:00
|
|
|
}
|