Date: Friday, November 17, 2017 @ 18:50:32 Author: arojas Revision: 310287
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 310286, kcalc/kde-unstable/PKGBUILD) ----------+ PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) Copied: kcalc/repos/kde-unstable-x86_64/PKGBUILD (from rev 310286, kcalc/kde-unstable/PKGBUILD) =================================================================== --- kde-unstable-x86_64/PKGBUILD (rev 0) +++ kde-unstable-x86_64/PKGBUILD 2017-11-17 18:50:32 UTC (rev 310287) @@ -0,0 +1,39 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgname=kcalc +pkgver=17.11.80 +pkgrel=1 +pkgdesc='Scientific Calculator' +url='https://kde.org/applications/utilities/kcalc/' +arch=(x86_64) +license=(GPL LGPL FDL) +depends=(kxmlgui knotifications kinit) +makedepends=(extra-cmake-modules python kdoctools) +groups=(kde-applications kdeutils) +source=("https://download.kde.org/unstable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig}) +sha256sums=('3b7d65fb765f6a5b7fea7eb7a5a565d33e5baf0e73bbcdf5fbf73f179fc90285' + '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 \ + -DCMAKE_BUILD_TYPE=Release \ + -DBUILD_TESTING=OFF \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install +}