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