Date: Saturday, June 9, 2018 @ 15:57:00 Author: arojas Revision: 326569
archrelease: copy trunk to testing-x86_64 Added: knewstuff/repos/testing-x86_64/ knewstuff/repos/testing-x86_64/PKGBUILD (from rev 326568, knewstuff/trunk/PKGBUILD) ----------+ PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) Copied: knewstuff/repos/testing-x86_64/PKGBUILD (from rev 326568, knewstuff/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2018-06-09 15:57:00 UTC (rev 326569) @@ -0,0 +1,39 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgname=knewstuff +pkgver=5.47.0 +pkgrel=1 +pkgdesc='Support for downloading application assets from the network' +arch=(x86_64) +url='https://community.kde.org/Frameworks' +license=(LGPL) +depends=(kio) +makedepends=(extra-cmake-modules doxygen qt5-tools qt5-declarative) +optdepends=('kirigami2: QML components') +groups=(kf5) +source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz"{,.sig}) +sha256sums=('ce92a0b1258724b191185c1109ef7b02a09a2f58d5495c066a00f8077c24f613' + 'SKIP') +validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <fa...@kde.org> + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_TESTING=OFF \ + -DBUILD_QCH=ON + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install +}