[arch-commits] Commit in black-hole-solver/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sat Jun 27 22:45:26 UTC 2020
Date: Saturday, June 27, 2020 @ 22:45:26
Author: arojas
Revision: 390529
Update to 1.8.0
Modified:
black-hole-solver/trunk/PKGBUILD
----------+
PKGBUILD | 21 +++++++--------------
1 file changed, 7 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-06-27 22:38:43 UTC (rev 390528)
+++ PKGBUILD 2020-06-27 22:45:26 UTC (rev 390529)
@@ -1,8 +1,8 @@
# Maintainer: Antonio Rojas <arojas at archlinux.org>
pkgname=black-hole-solver
-pkgver=1.6.0
-pkgrel=2
+pkgver=1.8.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/"
@@ -10,23 +10,16 @@
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')
+sha256sums=('f73c14272545baa4cba717b61646ec0c610b124e1721288b0a9bff680bb9982c')
-prepare() {
- mkdir -p build
-}
-
build() {
- cd build
- cmake ../$pkgname-$pkgver \
+ cmake -B build -S $pkgname-$pkgver \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_STATIC_LIBRARY=OFF
- make
+ cmake --build build
}
package() {
- cd build
- make DESTDIR="$pkgdir" install
- install -Dm644 "$srcdir"/$pkgname-$pkgver/COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+ DESTDIR="$pkgdir" cmake --install build
+ install -Dm644 $pkgname-$pkgver/COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
-
More information about the arch-commits
mailing list