mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
25 lines
647 B
Bash
25 lines
647 B
Bash
pkgname=libkvkontakte
|
|
pkgver=4.12.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=('kdelibs' 'qjson')
|
|
makedepends=('cmake' 'automoc4')
|
|
source=("http://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz")
|
|
sha1sums=('51232c697dcc02231e210dc6b309aa7c7b4ceecc')
|
|
|
|
build() {
|
|
mkdir -p build && cd build
|
|
cmake ../${pkgname}-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|