Date: Monday, November 18, 2019 @ 00:28:08 Author: arojas Revision: 369206
archrelease: copy kde-unstable to kde-unstable-x86_64 Added: kcalc/repos/kde-unstable-x86_64/ kcalc/repos/kde-unstable-x86_64/PKGBUILD (from rev 369205, kcalc/kde-unstable/PKGBUILD) ----------+ PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) Copied: kcalc/repos/kde-unstable-x86_64/PKGBUILD (from rev 369205, kcalc/kde-unstable/PKGBUILD) =================================================================== --- kde-unstable-x86_64/PKGBUILD (rev 0) +++ kde-unstable-x86_64/PKGBUILD 2019-11-18 00:28:08 UTC (rev 369206) @@ -0,0 +1,35 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgname=kcalc +pkgver=19.11.80 +pkgrel=1 +pkgdesc='Scientific Calculator' +url='https://kde.org/applications/utilities/kcalc/' +arch=(x86_64) +license=(GPL LGPL FDL) +depends=(kinit) +makedepends=(extra-cmake-modules kdoctools) +groups=(kde-applications kdeutils) +source=("https://download.kde.org/unstable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig}) +sha256sums=('e65648bdf7e70fdf10372efd142af4834b44cf108a4f377ebd842a984607b6cd' + '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 + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install +}