# Contributor: Andrea Scarpino source ../frameworks.conf pkgname=kio pkgver=${KFVersion} pkgrel=1 pkgdesc='Resource and network access abstraction' arch=('x86_64') url='https://projects.kde.org/projects/frameworks/kio' license=('LGPL') depends=('solid' 'karchive' 'kjobwidgets' 'kbookmarks' 'libxslt' 'kwallet' 'desktop-file-utils' 'krb5' 'acl') makedepends=("extra-cmake-modules>=${KFECMVersion}" 'kdoctools') checkdepends=('xorg-server-xvfb' 'openbox') groups=('kf5') install=kio.install options=("debug") source=("${KFServer}/${pkgname}-${pkgver}.tar.xz") sha256sums=( $(getSum ${pkgname}) ) prepare() { mkdir -p build } build() { cd build cmake_kf5 ../${pkgname}-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DLIB_INSTALL_DIR=lib \ -DLIBEXEC_INSTALL_DIR=lib \ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ -DBUILD_TESTING=OFF make } package() { cd build make DESTDIR="${pkgdir}" install }