Date: Sunday, December 10, 2017 @ 18:37:04 Author: arojas Revision: 312109
archrelease: copy trunk to testing-x86_64 Added: kunitconversion/repos/testing-x86_64/ kunitconversion/repos/testing-x86_64/PKGBUILD (from rev 312108, kunitconversion/trunk/PKGBUILD) ----------+ PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) Copied: kunitconversion/repos/testing-x86_64/PKGBUILD (from rev 312108, kunitconversion/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2017-12-10 18:37:04 UTC (rev 312109) @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgname=kunitconversion +pkgver=5.41.0 +pkgrel=1 +pkgdesc='Support for unit conversion' +arch=('x86_64') +url='https://community.kde.org/Frameworks' +license=('LGPL') +depends=('ki18n') +makedepends=('extra-cmake-modules' 'python' 'doxygen' 'qt5-tools') +groups=('kf5') +source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig}) +sha256sums=('3ca34472c5575770710f13bffd869ac4cc68d78f50a85cd17086a7850aa7c6ce' + 'SKIP') +validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <fa...@kde.org> + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DKDE_INSTALL_LIBDIR=lib \ + -DBUILD_TESTING=OFF \ + -DBUILD_QCH=ON + make +} + +package() { + cd build + make DESTDIR="${pkgdir}" install +}