Date: Saturday, April 14, 2018 @ 10:10:41 Author: arojas Revision: 321765
archrelease: copy trunk to testing-x86_64 Added: kitemmodels/repos/testing-x86_64/ kitemmodels/repos/testing-x86_64/PKGBUILD (from rev 321764, kitemmodels/trunk/PKGBUILD) ----------+ PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) Copied: kitemmodels/repos/testing-x86_64/PKGBUILD (from rev 321764, kitemmodels/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2018-04-14 10:10:41 UTC (rev 321765) @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgname=kitemmodels +pkgver=5.45.0 +pkgrel=1 +pkgdesc='Models for Qt Model/View system' +arch=('x86_64') +url='https://community.kde.org/Frameworks' +license=('LGPL') +depends=('qt5-base') +makedepends=('extra-cmake-modules' 'python2-pyqt5' 'python-pyqt5' 'clang' 'doxygen' 'qt5-tools') +optdepends=('python-pykf5: to use the Python 3 bindings' 'python2-pykf5: to use the Python 2 bindings') +groups=('kf5') +source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig}) +sha256sums=('81cf879c8ca546bb1626c3c3fcd82d365f0d5ee45aba5066be8b3b468ddeab22' + '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 +}