desktop/libkgapi/PKGBUILD

31 lines
792 B
Bash
Raw Normal View History

2012-06-01 05:57:25 +08:00
pkgname=libkgapi
2016-09-18 19:41:59 +08:00
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')
2016-08-30 21:43:20 +08:00
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")
2016-09-18 19:41:59 +08:00
md5sums=('5f3b1e15ce5dff404bf2a552ae67d890')
prepare() {
mkdir -p build
}
2012-06-01 05:57:25 +08:00
build() {
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 \
-DBUILD_TESTING=OFF
make
2012-06-01 05:57:25 +08:00
}
package() {
cd build
make DESTDIR="${pkgdir}" install
2015-10-19 00:19:36 +08:00
}