Date: Monday, May 13, 2019 @ 20:05:17 Author: arojas Revision: 353197
archrelease: copy trunk to testing-x86_64 Added: kunitconversion/repos/testing-x86_64/ kunitconversion/repos/testing-x86_64/PKGBUILD (from rev 353196, kunitconversion/trunk/PKGBUILD) ----------+ PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) Copied: kunitconversion/repos/testing-x86_64/PKGBUILD (from rev 353196, kunitconversion/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2019-05-13 20:05:17 UTC (rev 353197) @@ -0,0 +1,37 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgname=kunitconversion +pkgver=5.58.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 doxygen qt5-tools) +groups=(kf5) +source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz"{,.sig}) +sha256sums=('5716474c4d031d9b5fdb3fe460957d4ceecd1d9c4e441df81a42bfbb993232fa' + '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 +}