desktop/libkgapi/PKGBUILD

33 lines
855 B
Bash
Raw Normal View History

2012-06-01 05:57:25 +08:00
# Desktop packages for Chakra
pkgname=libkgapi
2013-06-17 00:03:48 +08:00
pkgver=2.0.1
2013-06-02 05:35:21 +08:00
pkgrel=1
2012-06-01 05:57:25 +08:00
pkgdesc="A KDE-based library for accessing various Google services via their public API"
url='https://projects.kde.org/projects/kdereview/libkgapi'
arch=('x86_64')
2012-06-01 05:57:25 +08:00
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}/src/${pkgname}-${pkgver}.tar.bz2")
2013-06-17 00:03:48 +08:00
md5sums=('a421c6b5e0b262136121e3734b29fcce')
2012-06-01 05:57:25 +08:00
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
}