2019-07-16 00:26:24 +02:00
|
|
|
# Template file for 'freecell-solver'
|
|
|
|
pkgname=freecell-solver
|
2019-08-26 19:47:58 +02:00
|
|
|
version=5.12.0
|
2019-07-16 00:26:24 +02:00
|
|
|
revision=1
|
|
|
|
build_style=cmake
|
2019-08-26 19:47:58 +02:00
|
|
|
configure_args="-DFCS_WITH_TEST_SUITE=OFF"
|
2019-07-16 00:26:24 +02:00
|
|
|
hostmakedepends="perl-Template-Toolkit gperf perl-Path-Tiny
|
|
|
|
pysolfc python3-pysol_cards python3-random2 python3-six"
|
2019-08-26 19:47:58 +02:00
|
|
|
short_desc="Automatically solves Freecell and similar variants of solitaire"
|
2019-07-16 00:26:24 +02:00
|
|
|
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
|
|
|
|
license="MIT"
|
|
|
|
homepage="https://fc-solve.shlomifish.org/"
|
|
|
|
distfiles="https://fc-solve.shlomifish.org/downloads/fc-solve/freecell-solver-${version}.tar.xz"
|
2019-08-26 19:47:58 +02:00
|
|
|
checksum=2579b89a1d4b42308f64e3d97511dede84ccc7137af8c674b094cbf4eaf1d6db
|
2019-07-16 00:26:24 +02:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vlicense COPYING.txt
|
|
|
|
}
|
|
|
|
|
|
|
|
libfreecell-solver_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/*.so*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libfreecell-solver-devel_package() {
|
|
|
|
depends="libfreecell-solver>=${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
}
|
|
|
|
}
|