desktop/libkgapi/PKGBUILD

33 lines
789 B
Bash
Raw Normal View History

2017-05-02 05:29:40 +08:00
# Include global configuration
source ../kdeapps.conf
2012-06-01 05:57:25 +08:00
pkgname=libkgapi
2017-05-02 05:29:40 +08:00
pkgver=${_kdever}
2017-05-13 06:21:23 +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'
arch=('x86_64')
2017-05-02 05:29:40 +08:00
license=(GPL LGPL FDL)
depends=(kcalcore kcontacts qt5-webengine)
makedepends=(extra-cmake-modules kdoctools qt5-tools kdesignerplugin python3)
options=('debug')
2017-05-13 06:21:23 +08:00
source=("$_mirror/${pkgname}-$_kdever.tar.xz"{,.sig})
2017-05-02 05:29:40 +08:00
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../kdeapps.sums | cut -d " " -f1`
2017-05-13 06:21:23 +08:00
'SKIP')
2017-08-11 00:14:23 +08:00
validpgpkeys=(${Avalidpgpkeys[@]})
prepare() {
mkdir -p build
}
2012-06-01 05:57:25 +08:00
build() {
cd build
2017-05-02 05:29:40 +08:00
cmake_kf5 ../${pkgname}-${pkgver}
make
2012-06-01 05:57:25 +08:00
}
package() {
cd build
2017-05-02 05:29:40 +08:00
make DESTDIR=${pkgdir} install
2015-10-19 00:19:36 +08:00
}