[arch-commits] Commit in freecell-solver/repos/extra-x86_64 (3 files)

Antonio Rojas arojas at archlinux.org
Thu Jul 23 13:42:25 UTC 2020


    Date: Thursday, July 23, 2020 @ 13:42:24
  Author: arojas
Revision: 392424

archrelease: copy trunk to extra-x86_64

Added:
  freecell-solver/repos/extra-x86_64/PKGBUILD
    (from rev 392423, freecell-solver/trunk/PKGBUILD)
Deleted:
  freecell-solver/repos/extra-x86_64/PKGBUILD
  freecell-solver/repos/extra-x86_64/freecell-solver-fix-build.patch

---------------------------------+
 PKGBUILD                        |   64 +++++++++++++++++---------------------
 freecell-solver-fix-build.patch |   41 ------------------------
 2 files changed, 29 insertions(+), 76 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-23 13:42:14 UTC (rev 392423)
+++ PKGBUILD	2020-07-23 13:42:24 UTC (rev 392424)
@@ -1,35 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=freecell-solver
-pkgver=6.0.0
-pkgrel=1
-pkgdesc="A program that automatically solves layouts of Freecell and similar variants of Card Solitaire"
-arch=(x86_64)
-url="https://fc-solve.shlomifish.org"
-license=(MIT)
-depends=(bash)
-makedepends=(cmake gperf perl-moo perl-path-tiny perl-template-toolkit python-random2 python-six python-pysol_cards rinutils)
-optdepends=('python-random2: for the Python interface' 'python-six: for the Python interface'
-            'python-pysol_cards: for the Python interface')
-source=(https://fc-solve.shlomifish.org/downloads/fc-solve/$pkgname-$pkgver.tar.xz
-        freecell-solver-fix-build.patch)
-sha256sums=('fcbf7d2bed6840cb340b035fe9ac8cdcdb30ab84fea72c864bec5ac748af3199'
-            '6d5975823b55c8eb63fb96a6e06ff0346d86c9c1d3ec2989bc1947bd5f092134')
-
-prepare() {
-  patch -d $pkgname-$pkgver -p1 -i ../freecell-solver-fix-build.patch # Fix out of tree build
-}
-
-build() {
-  cmake -B build -S $pkgname-$pkgver \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DFCS_WITH_TEST_SUITE=OFF \
-    -DBUILD_STATIC_LIBRARY=OFF
-  cmake --build build
-}
-
-package() {
-  DESTDIR="$pkgdir" cmake --install build
-  install -Dm644 $pkgname-$pkgver/COPYING.html "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.html
-}
-

Copied: freecell-solver/repos/extra-x86_64/PKGBUILD (from rev 392423, freecell-solver/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-23 13:42:24 UTC (rev 392424)
@@ -0,0 +1,29 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=freecell-solver
+pkgver=6.0.1
+pkgrel=1
+pkgdesc="A program that automatically solves layouts of Freecell and similar variants of Card Solitaire"
+arch=(x86_64)
+url="https://fc-solve.shlomifish.org"
+license=(MIT)
+depends=(bash)
+makedepends=(cmake gperf perl-moo perl-path-tiny perl-template-toolkit python-random2 python-six python-pysol_cards rinutils)
+optdepends=('python-random2: for the Python interface' 'python-six: for the Python interface'
+            'python-pysol_cards: for the Python interface')
+source=(https://fc-solve.shlomifish.org/downloads/fc-solve/$pkgname-$pkgver.tar.xz)
+sha256sums=('9f1a4c6d5c8ac54c6619b3b988efb5562d460cd048d33345e52a0c849fd0d9df')
+
+build() {
+  cmake -B build -S $pkgname-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DFCS_WITH_TEST_SUITE=OFF \
+    -DBUILD_STATIC_LIBRARY=OFF
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+  install -Dm644 $pkgname-$pkgver/COPYING.html "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.html
+}
+

Deleted: freecell-solver-fix-build.patch
===================================================================
--- freecell-solver-fix-build.patch	2020-07-23 13:42:14 UTC (rev 392423)
+++ freecell-solver-fix-build.patch	2020-07-23 13:42:24 UTC (rev 392424)
@@ -1,41 +0,0 @@
-diff --git a/fc-solve/source/CMakeLists.txt b/fc-solve/source/CMakeLists.txt
-index 94a3f3fc0..fb37caecd 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -273,7 +273,7 @@ ADD_CUSTOM_COMMAND(
-     DEPENDS "${is_parent_gen}"
- )
- # Execute it right away to avoid missing files/includes
--EXECUTE_PROCESS(COMMAND "${PERL_EXECUTABLE}" ${is_parent_args} RESULT_VARIABLE _retcode)
-+EXECUTE_PROCESS(COMMAND "${PERL_EXECUTABLE}" ${is_parent_args} WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}" RESULT_VARIABLE _retcode)
- 
- IF (NOT ("${_retcode}" STREQUAL "0"))
-     MESSAGE(FATAL_ERROR "${PERL_EXECUTABLE} ${is_parent_args} failed!")
-@@ -308,6 +308,7 @@ ADD_CUSTOM_COMMAND(
-         "${cl_enum_h}"
-     COMMAND ${_cmd}
-     DEPENDS "${CL_INC_SCRIPT}"
-+    WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
- )
- 
- # Execute it right away to avoid missing files/includes
-@@ -329,6 +330,7 @@ ADD_CUSTOM_COMMAND(
-         "${CMAKE_CURRENT_BINARY_DIR}/${MOVE_FUNCS_H}"
-     COMMAND "${PERL_EXECUTABLE}" "${MOVE_FUNCS_GEN}"
-     DEPENDS "${MOVE_FUNCS_GEN}" "${MOVE_FUNCS_GEN_MOD}"
-+    WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
- )
- 
- ADD_CUSTOM_TARGET(
-@@ -374,7 +376,10 @@ ENDIF ()
- IF (NOT "${FCS_DISABLE_PATSOLVE}")
-     SET (pp_dir "${CMAKE_CURRENT_SOURCE_DIR}/${p_dir}")
-     SET (cmd "python3" "${pp_dir}/param.py" "${pp_dir}/param.dat")
--    EXECUTE_PROCESS(COMMAND ${cmd} RESULT_VARIABLE _retcode)
-+    EXECUTE_PROCESS(
-+        COMMAND ${cmd} RESULT_VARIABLE _retcode
-+        WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
-+    )
-     IF (NOT ("${_retcode}" STREQUAL "0"))
-         MESSAGE(FATAL_ERROR "${cmd} failed!")
-     ENDIF ()



More information about the arch-commits mailing list