Date: Saturday, May 9, 2020 @ 11:42:25 Author: arojas Revision: 382891
archrelease: copy trunk to testing-x86_64 Added: kunitconversion/repos/testing-x86_64/ kunitconversion/repos/testing-x86_64/PKGBUILD (from rev 382890, kunitconversion/trunk/PKGBUILD) ----------+ PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) Copied: kunitconversion/repos/testing-x86_64/PKGBUILD (from rev 382890, kunitconversion/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2020-05-09 11:42:25 UTC (rev 382891) @@ -0,0 +1,35 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgname=kunitconversion +pkgver=5.70.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 qt5-doc) +groups=(kf5) +source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz"{,.sig}) +sha256sums=('d63e7646a8059fb333f95b27548044e897b38ed5c939db416c0c1077bf7be46a' + 'SKIP') +validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <fa...@kde.org> + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ + -DBUILD_TESTING=OFF \ + -DBUILD_QCH=ON + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install +}