blob: 763ce3cdd883a1d7e95f22be496ba14c39e0a30f (
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
|
# Maintainer: Mohamed Amine Zghal (medaminezghal) <medaminezghal at outlook dot com>
_name='pymunk'
pkgname=python-${_name}
pkgver=6.9.0
pkgrel=1
pkgdesc="Pymunk (built on top of Chipmunk2D) is an easy-to-use pythonic 2D physics library that can be used whenever you need 2D rigid body physics from Python."
arch=('x86_64')
url='http://www.pymunk.org/'
license=('MIT')
makedepends=('python-setuptools' 'python-wheel' 'python-cffi>=1.17.1' 'gcc')
depends=('python>=3.8' 'python-cffi>=1.17.1')
optdepends=('python-pyglet<2.0.0' 'python-pygame' 'python-sphinx' 'python-aafigure' 'python-wheel' 'python-matplotlib' 'python-numpy' 'python-sphinx-autodoc-typehints')
source=("https://files.pythonhosted.org/packages/source/${_name:0:1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('765f7c561a859a1b565bc517a47cc3992d6258e860f9174c533033c218af63c3')
build() {
cd "$srcdir"/pymunk-$pkgver
python setup.py build
}
package() {
cd "$srcdir"/pymunk-$pkgver
python setup.py install -O1 --skip-build --root="$pkgdir"
install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
}
|