mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
34 lines
820 B
Bash
34 lines
820 B
Bash
|
|
pkgname=libkgapi
|
|
pkgver=5.1.0
|
|
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')
|
|
makedepends=('extra-cmake-modules' 'kdoctools')
|
|
source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
|
|
#source=("git://anongit.kde.org/libkgapi")
|
|
md5sums=('a65d1d637f18655b9b9bd22acf3813ec')
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake ../${pkgname}-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DLIB_INSTALL_DIR=lib \
|
|
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
|
|
-DBUILD_TESTING=OFF
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|