diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..52b96d25c864 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: trougnouf (Benoit Brummer) <trougnouf at gmail dot com> + +_name='estool' +pkgname="python-${_name}-git" +pkgver=r13.2a95325 +pkgrel=1 +pkgdesc="Implementation of various Evolution Strategies, such as GA, PEPG, CMA-ES and OpenAI's ES using common interface" +provides=(python-${_name}) +url="https://github.com/hardmaru/${_name}" +depends=('python-gym-git' 'python-pybullet') +makedepends=('python-setuptools') +license=('MIT') +arch=('x86_64') + +pkgver() { + cd "${srcdir}/$_name" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +source=("git+${url}.git") + +sha256sums=('SKIP') + +build() { + cd "${srcdir}/${_name}" + python setup.py build +} + +package() { + cd "${srcdir}/${_name}" + python setup.py install --root="$pkgdir/" --optimize=1 --skip-build +} + + |