mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
33 lines
858 B
Bash
33 lines
858 B
Bash
# Desktop packages for Chakra
|
|
|
|
pkgname=libkgapi
|
|
pkgver=0.4.3
|
|
pkgrel=1
|
|
pkgdesc="A KDE-based library for accessing various Google services via their public API"
|
|
url='https://projects.kde.org/projects/kdereview/libkgapi'
|
|
arch=('i686' 'x86_64')
|
|
license=('GPL' 'LGPL' 'FDL')
|
|
depends=('kdepimlibs' 'qjson')
|
|
makedepends=('cmake' 'automoc4' 'boost')
|
|
replaces=('akonadi-google' 'libkgoogle')
|
|
conflicts=('akonadi-google' 'libkgoogle')
|
|
provides=('akonadi-google' 'libkgoogle')
|
|
source=("http://download.kde.org/stable/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.bz2")
|
|
md5sums=('99e61ad50edd51f679170db3b997736b')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
mkdir build
|
|
cd build
|
|
cmake ..\
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}/build"
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
}
|