[arch-commits] Commit in freecell-solver (3 files)
Antonio Rojas
arojas at archlinux.org
Tue Jul 3 17:00:18 UTC 2018
Date: Tuesday, July 3, 2018 @ 17:00:18
Author: arojas
Revision: 327945
archrelease: copy trunk to extra-x86_64
Added:
freecell-solver/repos/
freecell-solver/repos/extra-x86_64/
freecell-solver/repos/extra-x86_64/PKGBUILD
(from rev 327944, freecell-solver/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: freecell-solver/repos/extra-x86_64/PKGBUILD (from rev 327944, freecell-solver/trunk/PKGBUILD)
===================================================================
--- repos/extra-x86_64/PKGBUILD (rev 0)
+++ repos/extra-x86_64/PKGBUILD 2018-07-03 17:00:18 UTC (rev 327945)
@@ -0,0 +1,32 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=freecell-solver
+pkgver=4.18.0
+pkgrel=1
+pkgdesc="A program that automatically solves layouts of Freecell and similar variants of Card Solitaire"
+arch=(x86_64)
+url="http://fc-solve.shlomifish.org"
+license=(MIT)
+depends=(bash)
+makedepends=(cmake gperf perl-path-tiny perl-template-toolkit)
+optdepends=('python: for the Python scripts')
+source=(http://fc-solve.shlomifish.org/downloads/fc-solve/$pkgname-$pkgver.tar.xz)
+sha1sums=('20c027b3b3ffd945397717035daa8aad008fc067')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../$pkgname-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DFCS_WITH_TEST_SUITE=OFF
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+ install -Dm644 "$srcdir"/$pkgname-$pkgver/COPYING.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list