Date: Saturday, January 13, 2018 @ 13:53:41 Author: arojas Revision: 314713
archrelease: copy trunk to testing-x86_64 Added: kio/repos/testing-x86_64/ kio/repos/testing-x86_64/PKGBUILD (from rev 314712, kio/trunk/PKGBUILD) ----------+ PKGBUILD | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) Copied: kio/repos/testing-x86_64/PKGBUILD (from rev 314712, kio/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2018-01-13 13:53:41 UTC (rev 314713) @@ -0,0 +1,47 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgname=kio +pkgver=5.42.0 +pkgrel=1 +pkgdesc='Resource and network access abstraction' +arch=(x86_64) +url='https://community.kde.org/Frameworks' +license=(LGPL) +depends=(solid kjobwidgets kbookmarks libxslt kwallet desktop-file-utils) +makedepends=(extra-cmake-modules kdoctools python doxygen qt5-tools) +optdepends=('kio-extras: extra protocols support (sftp, fish and more)' 'kdoctools: for the help kioslave' + 'knetattach: to add new kio-remote entries') +groups=(kf5) +source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz"{,.sig} + kdebug-352776.patch::"https://cgit.kde.org/kio.git/patch/?id=248941a0") +sha256sums=('ec1d0ef9523661614f347e3c99efe98813d0fab92e8fdb4a995685d013524694' + 'SKIP' + '27231fbc2018caba19724a03b9ece21215bfb8d37d8cfe4e3b09095b4630f250') +validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <fa...@kde.org> + +prepare() { + mkdir -p build + + cd $pkgname-$pkgver + patch -p1 -i ../kdebug-352776.patch # Fix file chooser layout with Qt 5.10 +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DCMAKE_INSTALL_LIBEXECDIR=lib \ + -DBUILD_TESTING=OFF \ + -DBUILD_QCH=ON + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install +}