aports/testing/csol/APKBUILD
2023-03-10 21:02:10 +00:00

32 lines
963 B
Plaintext

# Contributor: Erwan Rouchet <lucidiot@brainshit.fr>
# Maintainer: Erwan Rouchet <lucidiot@brainshit.fr>
pkgname=csol
pkgver=1.6.0
pkgrel=0
pkgdesc="Small collection of solitaire/patience games to play in the terminal"
url="https://nielssp.dk/csol/"
arch="all"
license="MIT"
makedepends="cmake ncurses-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/nielssp/csol/archive/v$pkgver.tar.gz
10-fix-ncurses.patch
"
subpackages="$pkgname-doc"
options="!check" # no tests
build() {
cmake -B build \
-DCMAKE_BUILD_TYPE=MinSizeRel \
-DCMAKE_INSTALL_PREFIX=/usr
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
2bac4e373d84c585e8bdb4671e5a446d2a174f8bfa60eaa6a8fe0d1ff5074878f2f8d0907297dd1452e5e5b1e7bfd73ba672a7820a3d4664e9abd6e654f57107 csol-1.6.0.tar.gz
2ad2b066bdd79413ea7a72482999fc9a47d6c3b07af753ab45ee07e8ed107dbf0b2ea7492ad60eaafcc69cbf78ff0ee75b84eac127823250c5513be0d10d1a74 10-fix-ncurses.patch
"