[arch-commits] Commit in black-hole-solver/repos (2 files)

Felix Yan felixonmars at archlinux.org
Sat May 16 10:56:18 UTC 2020


    Date: Saturday, May 16, 2020 @ 10:56:17
  Author: felixonmars
Revision: 384218

archrelease: copy trunk to staging-x86_64

Added:
  black-hole-solver/repos/staging-x86_64/
  black-hole-solver/repos/staging-x86_64/PKGBUILD
    (from rev 384217, black-hole-solver/trunk/PKGBUILD)

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

Copied: black-hole-solver/repos/staging-x86_64/PKGBUILD (from rev 384217, black-hole-solver/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-16 10:56:17 UTC (rev 384218)
@@ -0,0 +1,32 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=black-hole-solver
+pkgver=1.6.0
+pkgrel=2
+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 perl-path-tiny rinutils)
+source=(https://fc-solve.shlomifish.org/downloads/fc-solve/black-hole-solver-$pkgver.tar.xz)
+sha256sums=('2c72ef77116276324c08e237c2abb940761925433f6283a184d1aeb9428e9341')
+
+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