blob: 2e3764f982df6f7c2451843b9252c9816e55d9a7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Maintainer: archlinux.info:tdy
pkgname=lazygull-engine-git
pkgver=r28.db77394
pkgrel=1
pkgdesc="A UCI chess engine based on Gull 3"
arch=(x86_64)
url=https://github.com/basil00/Gull
license=(MIT)
makedepends=(git)
source=(git+https://github.com/basil00/Gull.git)
sha256sums=(SKIP)
pkgver() {
cd Gull
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd Gull/src
make -f Makefile.linux build
}
package() {
cd Gull/src
install -Dm755 LazyGull "$pkgdir"/usr/bin/LazyGull
sed -n 's/^ .[ ]*//; 3,21p' tbprobe.h > LICENSE
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
|