summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d5fea1860f27bd333a6cc3f44f07bc9f23a3d9c8 (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

pkgname=pyparticles
pkgver=0.4.0
pkgrel=1
pkgdesc="Particles simulation toolbox for python, with some force model and integrations methods"
arch=(any)
license=('GPL3')
url="http://pyparticles.wordpress.com/"
depends=('python'  'python-opengl' 'python-scipy' 'python-numpy' 'python-matplotlib' )


source=("https://github.com/simon-r/PyParticles/archive/refs/tags/v0.4.0.tar.gz")
sha256sums=('a49817a5334e18bd74e310c9b1322818ae592ee05feff236151250dab3ee8889')

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

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