blob: af42fb3838903c7d640431593012fb1f96041323 (
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
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Maintainer: acxz <akashpatel2008 at yahoo dot com>
pkgname=python-pygmo
pkgver=2.16.1
pkgrel=1
pkgdesc="Perform parallel computations of optimisation tasks (global and local) via the asynchronous generalized island model (Python version)"
arch=('i686' 'x86_64')
url="https://esa.github.io/pygmo2/"
license=('GPLv3')
depends=('python' 'boost' 'pagmo' 'python-numpy' 'python-cloudpickle')
optdepends=('python-matplotlib' 'python-dill')
makedepends=('cmake' 'python' 'pybind11' 'pagmo' 'boost')
_name=pygmo2
source=(https://github.com/esa/${_name}/archive/v${pkgver}.tar.gz)
sha256sums=('54d4fa99e4bff539fca67dfcdc909499fd3f1a3186f7c7fc8200f19512954166')
_buildtype="Release"
build() {
cd "${srcdir}/${_name}-${pkgver}"
msg "Starting CMake (build type: ${_buildtype})"
# Create a build directory
mkdir -p "${srcdir}/${_name}-${pkgver}-build"
cd "${srcdir}/${_name}-${pkgver}-build"
cmake \
-DCMAKE_BUILD_TYPE="${buildtype}" \
-DCMAKE_INSTALL_PREFIX="/usr" \
"${srcdir}/${_name}-${pkgver}"
msg "Building the project"
make
}
package() {
cd "${srcdir}/${_name}-${pkgver}-build"
msg "Installing files"
make DESTDIR="${pkgdir}/" install
}
|