Date: Friday, November 17, 2017 @ 18:00:45 Author: arojas Revision: 310099
archrelease: copy kde-unstable to kde-unstable-x86_64 Added: libkmahjongg/repos/kde-unstable-x86_64/ libkmahjongg/repos/kde-unstable-x86_64/PKGBUILD (from rev 310098, libkmahjongg/kde-unstable/PKGBUILD) ----------+ PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) Copied: libkmahjongg/repos/kde-unstable-x86_64/PKGBUILD (from rev 310098, libkmahjongg/kde-unstable/PKGBUILD) =================================================================== --- kde-unstable-x86_64/PKGBUILD (rev 0) +++ kde-unstable-x86_64/PKGBUILD 2017-11-17 18:00:45 UTC (rev 310099) @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgname=libkmahjongg +pkgver=17.11.80 +pkgrel=1 +pkgdesc="Common code, backgrounds and tile sets for games using Mahjongg tiles" +url="https://www.kde.org/applications/games/" +arch=(x86_64) +license=(GPL LGPL FDL) +depends=(kconfigwidgets kcompletion qt5-svg) +makedepends=(extra-cmake-modules python) +source=("https://download.kde.org/unstable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig}) +sha256sums=('af174cf10ccc902052d820bbfbdc68bc6e1f9340adf5c5f3aed5ffe1939a9f4e' + '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 +}