blob: 34867d1003709a161c06b1644b7db1593da78117 (
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
30
31
32
33
|
# Maintainer: João Figueiredo <islandc0der@chaotic.cx>
pkgname=fishnet
pkgver=2.9.3
pkgrel=1
pkgdesc='Distributed Stockfish analysis for lichess.org'
arch=($CARCH)
url='https://github.com/lichess-org/fishnet'
license=(GPL-3.0-only)
makedepends=(git rust)
source=("git+$url#tag=v$pkgver"
"git+https://github.com/official-stockfish/Stockfish"
"git+https://github.com/ianfab/Fairy-Stockfish")
sha256sums=('SKIP'
'SKIP'
'SKIP')
prepare(){
cd $pkgname
git submodule init
git config submodule.Stockfish.url "$srcdir/Stockfish"
git config submodule.Fairy-Stockfish.url "$srcdir/Fairy-Stockfish"
git -c protocol.file.allow=always submodule update
}
build() {
cd $pkgname
cargo build --release -vv --
}
package() {
install -Dm755 $pkgname/target/release/fishnet -t "$pkgdir/usr/bin/"
}
|