[arch-commits] Commit in kpatience/repos (testing-x86_64 testing-x86_64/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue Aug 20 08:54:03 UTC 2019


    Date: Tuesday, August 20, 2019 @ 08:54:02
  Author: felixonmars
Revision: 360294

archrelease: copy trunk to testing-x86_64

Added:
  kpatience/repos/testing-x86_64/
  kpatience/repos/testing-x86_64/PKGBUILD
    (from rev 360293, kpatience/trunk/PKGBUILD)

----------+
 PKGBUILD |   38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

Copied: kpatience/repos/testing-x86_64/PKGBUILD (from rev 360293, kpatience/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2019-08-20 08:54:02 UTC (rev 360294)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kpatience
+pkgver=19.08.0
+pkgrel=1
+pkgdesc="Offers a selection of solitaire card games"
+url="https://kde.org/applications/games/kpatience/"
+arch=(x86_64)
+license=(GPL LGPL FDL)
+groups=(kde-applications kdegames)
+depends=(libkdegames freecell-solver black-hole-solver hicolor-icon-theme)
+makedepends=(extra-cmake-modules kdoctools)
+source=("https://download.kde.org/stable/applications/$pkgver/src/kpat-$pkgver.tar.xz"{,.sig})
+sha256sums=('1d68ac9094ad8f9bf0487daced786508f96ce2a63fd8d9884c2d03960fda9328'
+            'SKIP')
+validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid <aacid at kde.org>
+              F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cfeck at kde.org>
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../kpat-$pkgver \
+    -DBUILD_TESTING=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DWITH_BH_SOLVER=ON
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}


More information about the arch-commits mailing list