desktop/libkvkontakte/PKGBUILD

30 lines
723 B
Bash
Raw Normal View History

2015-12-13 08:31:29 +08:00
# Include global configuration
source ../kdeapps.conf
pkgname=libkvkontakte
2017-08-31 21:37:30 +08:00
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')
2015-12-13 08:31:29 +08:00
depends=('kio' 'ki18n' 'kdewebkit' 'kcoreaddons' 'kwidgetsaddons')
makedepends=('pkg-config' 'extra-cmake-modules' 'kdoctools' 'git')
2017-08-31 21:37:30 +08:00
source=("https://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
md5sums=('38754b63297f0248f572412dc54edb87')
2015-12-13 08:31:29 +08:00
prepare() {
mkdir -p build
}
build() {
2015-12-13 08:31:29 +08:00
cd build
2017-08-31 21:37:30 +08:00
cmake_kf5 ../${pkgname}-${pkgver}
make
}
package() {
cd build
2015-12-13 08:31:29 +08:00
make DESTDIR=${pkgdir} install
2017-08-31 21:37:30 +08:00
}