Date: Friday, July 21, 2017 @ 19:49:15 Author: arojas Revision: 300999
archrelease: copy kde-unstable to kde-unstable-x86_64 Added: kdiamond/repos/kde-unstable-x86_64/ kdiamond/repos/kde-unstable-x86_64/PKGBUILD (from rev 300998, kdiamond/kde-unstable/PKGBUILD) ----------+ PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) Copied: kdiamond/repos/kde-unstable-x86_64/PKGBUILD (from rev 300998, kdiamond/kde-unstable/PKGBUILD) =================================================================== --- kde-unstable-x86_64/PKGBUILD (rev 0) +++ kde-unstable-x86_64/PKGBUILD 2017-07-21 19:49:15 UTC (rev 300999) @@ -0,0 +1,40 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgname=kdiamond +pkgver=17.07.80 +pkgrel=1 +pkgdesc="A single player puzzle game" +url="https://kde.org/applications/games/kdiamond/" +arch=('i686' 'x86_64') +license=('GPL' 'LGPL' 'FDL') +groups=('kde-applications' 'kdegames') +depends=('libkdegames' 'knotifyconfig' 'hicolor-icon-theme') +makedepends=('extra-cmake-modules' 'python' 'kdoctools') +conflicts=('kdegames-kdiamond') +replaces=('kdegames-kdiamond') +source=("https://download.kde.org/unstable/applications/${pkgver}/src/kdiamond-${pkgver}.tar.xz"{,.sig}) +sha256sums=('c58d49ec133c09c5ec152946c42132a5c81c1695a654b3277f61bb455275474c' + '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 + make +} + +package() { + cd build + make DESTDIR="${pkgdir}" install +}