[arch-commits] Commit in (3 files)

Antonio Rojas arojas at archlinux.org
Mon Mar 18 22:18:18 UTC 2019


    Date: Monday, March 18, 2019 @ 22:18:12
  Author: arojas
Revision: 348626

New kpat dependency

Added:
  black-hole-solver/
  black-hole-solver/trunk/
  black-hole-solver/trunk/PKGBUILD

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

Added: black-hole-solver/trunk/PKGBUILD
===================================================================
--- black-hole-solver/trunk/PKGBUILD	                        (rev 0)
+++ black-hole-solver/trunk/PKGBUILD	2019-03-18 22:18:12 UTC (rev 348626)
@@ -0,0 +1,32 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=black-hole-solver
+pkgver=0.18.0
+pkgrel=1
+pkgdesc="Solvers and statistics for 'Golf' solitaire, 'Black Hole' solitaire, 'All in a Row' solitaire and related card patience games."
+arch=(x86_64)
+url="https://www.shlomifish.org/open-source/projects/black-hole-solitaire-solver/"
+license=(MIT)
+depends=(glibc)
+makedepends=(cmake)
+source=(http://fc-solve.shlomifish.org/downloads/fc-solve/black-hole-solver-$pkgver.tar.xz)
+sha256sums=('a1db9ec0e697ebcd2127afcaf57c72d6b8f27b277c9c2b3cc9e651d702f83c9b')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DBUILD_STATIC_LIBRARY=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+  install -Dm644 "$srcdir"/$pkgname-$pkgver/COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+


More information about the arch-commits mailing list