[arch-commits] Commit in libkvkontakte/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Tue Jul 5 10:15:48 UTC 2016
Date: Tuesday, July 5, 2016 @ 10:15:48
Author: arojas
Revision: 270951
git snapshot for digikam 5
Modified:
libkvkontakte/trunk/PKGBUILD
----------+
PKGBUILD | 21 +++++++++------------
1 file changed, 9 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-07-05 08:32:16 UTC (rev 270950)
+++ PKGBUILD 2016-07-05 10:15:48 UTC (rev 270951)
@@ -3,30 +3,27 @@
# Contributor: Antonio Rojas <arojas at archlinux.org>
pkgname=libkvkontakte
-pkgver=4.12.0
-pkgrel=2
+pkgver=5.0.0git20160305
+pkgrel=1
pkgdesc="C++ library for asynchronous interaction with VK social network via its web API"
arch=(i686 x86_64)
-url='https://projects.kde.org/projects/extragear/libs/libkvkontakte'
+url='https://www.digikam.org'
license=(GPL)
-depends=(kdelibs qjson)
-makedepends=(cmake automoc4)
-source=("http://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz")
-sha1sums=('51232c697dcc02231e210dc6b309aa7c7b4ceecc')
+depends=(kdewebkit)
+makedepends=(extra-cmake-modules python)
+source=("http://quickgit.kde.org/?p=libkvkontakte.git&a=snapshot&h=b5d347c1&fmt=tgz")
+sha1sums=('d6880a4f88952ec9f7447c1f4c4ebc828d90a38e')
prepare() {
mkdir -p build
-
-# Fix build with recent cmake
- cd $pkgname-$pkgver
- sed -e "/^cmake_minimum_required/ a cmake_policy(SET CMP0022 OLD)\ncmake_policy(SET CMP0059 OLD)" -i CMakeLists.txt
}
build() {
cd build
- cmake ../$pkgname-$pkgver \
+ cmake ../$pkgname \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
+ -DKDE_INSTALL_LIBDIR=lib \
-DBUILD_TESTING=OFF
make
}
More information about the arch-commits
mailing list