Date: Friday, August 17, 2018 @ 14:33:30 Author: arojas Revision: 331745
archrelease: copy trunk to testing-x86_64 Added: kmplot/repos/testing-x86_64/ kmplot/repos/testing-x86_64/PKGBUILD (from rev 331744, kmplot/trunk/PKGBUILD) ----------+ PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) Copied: kmplot/repos/testing-x86_64/PKGBUILD (from rev 331744, kmplot/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2018-08-17 14:33:30 UTC (rev 331745) @@ -0,0 +1,37 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgname=kmplot +pkgver=18.08.0 +pkgrel=1 +pkgdesc="Mathematical Function Plotter" +url="https://kde.org/applications/education/kmplot/" +arch=(x86_64) +license=(GPL LGPL FDL) +groups=(kde-applications kdeedu) +depends=(kdelibs4support hicolor-icon-theme) +makedepends=(extra-cmake-modules kdoctools kdesignerplugin) +source=("https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig}) +sha256sums=('6d0523e65bfc3be2e9925f4cdc37be2462b9f0eb10b90ceffced891f43197c53' + 'SKIP') +validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid <aa...@kde.org> + F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cf...@kde.org> + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ + -DBUILD_TESTING=OFF \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install +}