summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c4bbda70819a3fcd54b4480c417054c88e42d39b (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='ethereal-git'
_pkgname=ethereal
pkgver=1128
pkgrel=1
pkgdesc="UCI-compliant chess engine. It uses the traditional alpha-beta framework in addition to a variety of pruning, reduction, extension, and other improvements."
arch=('i686' 'x86_64')
url="https://github.com/AndyGrant/Ethereal"
license=('GPL3')
makedepends=('git')
optdepends=('xboard' 'scid_vs_pc')
provides=('ethereal')
conflicts=('ethereal')
source=("${_pkgname}::git+https://github.com/AndyGrant/Ethereal")
md5sums=('SKIP')

pkgver() {
    cd "${srcdir}/${_pkgname}"
    git rev-list --count HEAD
}

build() {
    cd "${srcdir}/${_pkgname}/src"
    make -j3
}

package() {
    cd "${srcdir}/${_pkgname}/src"
    install -Dm755 Ethereal $pkgdir/usr/bin/Ethereal
}