Date: Monday, February 12, 2018 @ 09:19:07 Author: arojas Revision: 316665
archrelease: copy trunk to testing-x86_64 Added: kio/repos/testing-x86_64/ kio/repos/testing-x86_64/PKGBUILD (from rev 316664, kio/trunk/PKGBUILD) ----------+ PKGBUILD | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) Copied: kio/repos/testing-x86_64/PKGBUILD (from rev 316664, kio/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2018-02-12 09:19:07 UTC (rev 316665) @@ -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.43.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-382437.patch::"https://cgit.kde.org/kio.git/patch/?id=0f8c2d79") +sha256sums=('e6ecd2290d19e0680f4bc35dc157cf8f4df85ab3a967521dd510163843a372d5' + 'SKIP' + '43cd80b6fb07fa1ccd49823fce74bd854ad6964aa1ec5aa87a3a0d85f074965f') +validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <fa...@kde.org> + +prepare() { + mkdir -p build + + cd $pkgname-$pkgver + patch -p1 -i ../kdebug-382437.patch # Fix wrong extension in Chromium file save dialog +} + +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 +}