# Include global configuration source ../kdeapps.conf pkgname=libkvkontakte pkgver=5.0.0 pkgrel=1 pkgdesc="C++ library for asynchronous interaction with VK social network via its web API" arch=('x86_64') url='https://projects.kde.org/projects/extragear/libs/libkvkontakte' license=('GPL') depends=('kio' 'ki18n' 'kdewebkit' 'kcoreaddons' 'kwidgetsaddons') makedepends=('pkg-config' 'extra-cmake-modules' 'kdoctools' 'git') source=("https://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.xz") md5sums=('38754b63297f0248f572412dc54edb87') prepare() { mkdir -p build } build() { cd build cmake_kf5 ../${pkgname}-${pkgver} make } package() { cd build make DESTDIR=${pkgdir} install }