Date: Saturday, March 25, 2017 @ 00:51:23 Author: arojas Revision: 291343
archrelease: copy kde-unstable to kde-unstable-x86_64 Added: kbruch/repos/kde-unstable-x86_64/ kbruch/repos/kde-unstable-x86_64/PKGBUILD (from rev 291342, kbruch/kde-unstable/PKGBUILD) ----------+ PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) Copied: kbruch/repos/kde-unstable-x86_64/PKGBUILD (from rev 291342, kbruch/kde-unstable/PKGBUILD) =================================================================== --- kde-unstable-x86_64/PKGBUILD (rev 0) +++ kde-unstable-x86_64/PKGBUILD 2017-03-25 00:51:23 UTC (rev 291343) @@ -0,0 +1,39 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgname=kbruch +pkgver=17.03.80 +pkgrel=1 +pkgdesc="Exercise Fractions" +url="https://kde.org/applications/education/kbruch/" +arch=('i686' 'x86_64') +license=('GPL' 'LGPL' 'FDL') +groups=('kde-applications' 'kdeedu') +depends=('kxmlgui' 'hicolor-icon-theme') +makedepends=('extra-cmake-modules' 'kdoctools' 'python') +conflicts=('kdeedu-kbruch') +replaces=('kdeedu-kbruch') +source=("https://download.kde.org/stable/applications/${pkgver}/src/kbruch-${pkgver}.tar.xz"{,.sig}) +sha256sums=('17fa45e050eeb8b9bfe2ff055be5d02fc8f0c67fa8cd44fa3c6e1332b7e04c07' + 'SKIP') +validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7) # Albert Astals Cid <aa...@kde.org> + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ + -DCMAKE_BUILD_TYPE=Release \ + -DBUILD_TESTING=OFF \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DKDE_INSTALL_LIBDIR=lib + make +} + +package() { + cd "${srcdir}"/build + make DESTDIR="${pkgdir}" install +}