desktop/libkgapi/PKGBUILD

39 lines
1.0 KiB
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}
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')
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')
source=("$_mirror/${pkgname}-$_kdever.tar.xz"{,.sig}
libkgapi-fix-auth.patch::"https://cgit.kde.org/libkgapi.git/patch/?id=68b89bce")
2017-05-02 05:29:40 +08:00
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../kdeapps.sums | cut -d " " -f1`
'SKIP'
'5903158fefff99bc11284de3653c23b32239b99e93d34b75d9fe6c61cb6a138e')
2017-05-02 05:29:40 +08:00
validpgpkeys=(${Avalidpgpkeys})
prepare() {
mkdir -p build
# Fix authentication
cd $pkgname-$pkgver
patch -p1 -i ../libkgapi-fix-auth.patch
}
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
}