43 lines
1.1 KiB
Bash
43 lines
1.1 KiB
Bash
# Template file for 'freecell-solver'
|
|
pkgname=freecell-solver
|
|
version=6.0.1
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DFCS_WITH_TEST_SUITE=OFF"
|
|
hostmakedepends="perl-Template-Toolkit gperf perl-Path-Tiny
|
|
pysolfc python3-pysol_cards python3-random2 python3-six
|
|
perl-Moo"
|
|
makedepends="gmp-devel rinutils"
|
|
short_desc="Automatically solves Freecell and similar variants of solitaire"
|
|
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
|
|
license="MIT"
|
|
homepage="https://fc-solve.shlomifish.org/"
|
|
changelog="https://fc-solve.shlomifish.org/docs/distro/NEWS.html"
|
|
distfiles="https://fc-solve.shlomifish.org/downloads/fc-solve/freecell-solver-${version}.tar.xz"
|
|
checksum=9f1a4c6d5c8ac54c6619b3b988efb5562d460cd048d33345e52a0c849fd0d9df
|
|
|
|
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
|
makedepends+=" musl-legacy-compat"
|
|
fi
|
|
|
|
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"
|
|
}
|
|
}
|