summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6b735b6b9a1cb8fabd01f3515c40bd7ee83dd299 (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
# Maintainer: acxz <akashpatel2008 at yahoo dot com>

pkgname=python-reconchess
pkgver=1.6.1
pkgrel=1
pkgdesc='ReconChess python implementation'
arch=(any)
url='https://github.com/reconnaissanceblindchess/reconchess'
license=('BSD-3-Clause')
depends=('python' 'python-chess' 'python-pygame' 'python-lxml'
         'python-requests')
makedepends=('python' 'python-setuptools')
source=("$pkgname-$pkgver::https://github.com/reconnaissanceblindchess/reconchess/archive/v$pkgver.tar.gz")
sha256sums=('4bb454f47ff009313cf6a67b1148a88f3a898be703716d9509eb1ad3ef629ac3')

_pkgname=reconchess

build() {
  cd "${srcdir}/${_pkgname}-${pkgver}"
  python setup.py build
}

package() {
  cd "${srcdir}/${_pkgname}-${pkgver}"
  python setup.py install --root="$pkgdir"/ --optimize=1
}