blob: 6deaba6d9358818453a753174e8618d273bd099c (
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
|
# Maintainer: Valeriy Huz <ghotrix@gmail.com>
pkgname='minnow-git'
_pkgname=minnow
pkgver=81
pkgrel=1
pkgdesc="simple and fairly weak chess engine written in C"
arch=('i686' 'x86_64')
url="https://github.com/tm512/minnow"
license=('GPL3')
makedepends=('git')
optdepends=('xboard' 'scid_vs_pc')
provides=('minnow')
conflicts=('minnow')
source=("${_pkgname}::git+https://github.com/tm512/minnow")
md5sums=('SKIP')
pkgver() {
cd "${srcdir}/${_pkgname}"
git rev-list --count HEAD
}
build() {
cd "${srcdir}/${_pkgname}"
make -j3 strip
}
package() {
cd "${srcdir}/${_pkgname}"
install -Dm755 minnow $pkgdir/usr/bin/minnow
}
|