projects/aports·blob master · refs

28 lines · 913 B

1# Contributor: Grigory Kirillov <[email protected]>
2# Maintainer: John Vogel <[email protected]>
3maintainer="John Vogel <[email protected]>"
4pkgname=k2
5pkgver=0_git20260430
6_commit=8e4531b92dd329358de1c74c23894bf8977e1588
7pkgrel=0
8pkgdesc="Chess engine with UCI and Xboard interface"
9url="https://github.com/serg-meus/k2"
10arch="all"
11license="GPL-3.0-or-later"
12options="!check" # no test suite
13source="https://github.com/serg-meus/k2/archive/$_commit.tar.gz
14 fix_32bit.patch"
15builddir="$srcdir/k2-$_commit"
16
17build() {
18 make
19}
20
21package() {
22 install -Dm755 k2 -t "$pkgdir"/usr/bin
23}
24
25sha512sums="
261a843b08f01514dfc4906ca6205b00cb946c55620cf25b227ee04b7e872ac7e0c9b8580502ae9d0a46a2a41306acc6840c171b856941cf3848ca50a58a4c91f6 8e4531b92dd329358de1c74c23894bf8977e1588.tar.gz
272d5f0aa874f0b0c83a22e3e0a156cbe2edc062804b209e311043a5c3dd61b9b903bf85cf2d9f3fadd2c2d33de5a269932c120b8fb940e55a6fa694b800f655ba fix_32bit.patch
28"