Date: Friday, July 21, 2017 @ 19:40:30 Author: arojas Revision: 300970
archrelease: copy kde-unstable to kde-unstable-x86_64 Added: kalgebra/repos/kde-unstable-x86_64/ kalgebra/repos/kde-unstable-x86_64/PKGBUILD (from rev 300969, kalgebra/kde-unstable/PKGBUILD) ----------+ PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) Copied: kalgebra/repos/kde-unstable-x86_64/PKGBUILD (from rev 300969, kalgebra/kde-unstable/PKGBUILD) =================================================================== --- kde-unstable-x86_64/PKGBUILD (rev 0) +++ kde-unstable-x86_64/PKGBUILD 2017-07-21 19:40:30 UTC (rev 300970) @@ -0,0 +1,40 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgname=kalgebra +pkgver=17.07.80 +pkgrel=1 +pkgdesc="Graph Calculator" +url="https://kde.org/applications/education/kalgebra/" +arch=('i686' 'x86_64') +license=('GPL' 'LGPL' 'FDL') +groups=('kde-applications' 'kdeedu') +depends=('analitza' 'kio' 'qt5-webengine' 'hicolor-icon-theme') +makedepends=('extra-cmake-modules' 'kdoctools' 'python' 'glu') +optdepends=('kirigami2: for KAlgebra Mobile') +replaces=('kdeedu-kalgebra') +conflicts=('kdeedu-kalgebra' 'kdeedu-analitza') +source=("https://download.kde.org/unstable/applications/${pkgver}/src/kalgebra-${pkgver}.tar.xz"{,.sig}) +sha256sums=('16bf7853f125e0514ff47c6e5cf0b14da55f84de070dfdc01af4efc8ffe24e1b' + 'SKIP') +validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid <aa...@kde.org> + F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cf...@kde.org> + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../kalgebra-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DKDE4_BUILD_TESTS=OFF \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd build + make DESTDIR="${pkgdir}" install +}