blob: 78939759bc8891a76d2a1fd781ac60de444e60c5 (
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: Valeriy Huz <ghotrix@gmail.com>
pkgname=syzygytb-git # '-bzr', '-git', '-hg' or '-svn'
_pkgname=syzygytb
pkgver=r2.e7ea7b0
pkgrel=1
pkgdesc="5 man Syzygy tablebase."
arch=('any')
url=""
license=('GPL2' 'GPL')
makedepends=('git') # 'bzr', 'git', 'mercurial' or 'subversion'
optdepends=('stockfish')
source=("${_pkgname}::git+https://bitbucket.org/ghotrix/syzygy5.git")
md5sums=('SKIP')
# Please refer to the 'USING VCS SOURCES' section of the PKGBUILD man page for
# a description of each element in the source array.
pkgver() {
cd "${srcdir}/${_pkgname}"
# Git, no tags available
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$srcdir/${_pkgname}"
mkdir -p "${pkgdir}/opt/${_pkgname}"
cp "$srcdir/${_pkgname}"/* "${pkgdir}/opt/${_pkgname}"
}
|