blob: e273cb4419410211a267a024f606b8777c27a910 (
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
# Maintainer: Groctel <aur@taxorubio.com>
pkgbase=manimce
pkgname=manim
pkgver=0.5.0
pkgrel=1
pkgdesc="Animation engine for explanatory math videos (community edition)."
arch=('any')
url="https://www.manim.community/"
license=('MIT' 'custom')
depends=(
'ffmpeg'
'python'
'python-cairo'
'python-click'
'python-click-default-group'
'python-colour'
'python-decorator'
'python-networkx'
'python-numpy'
'python-pillow'
'python-pygments'
'python-rich'
'python-scipy'
'python-setuptools'
'python-tqdm'
# Aur dependencies
'python-cloup'
'python-manimpango'
'python-mapbox-earcut'
'python-moderngl-git'
'python-moderngl-window'
'python-glcontext'
'python-pydub'
)
makedepends=(
'python-setuptools'
)
optdepends=(
'texlive-most: latex support'
)
conflicts=('python-manimlib')
provides=()
source=("https://github.com/ManimCommunity/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz")
sha512sums=('d736156a7e359f65575d96ab389fda7d4a65ba19d9a28ddf827a9b2f2566e67fd52053de70f41357120b71225a266ef1352a39876b60fd897e10a155c0110469')
prepare() {
cd "$srcdir/$pkgname-$pkgver"
sed -i 's/rich>=6.0,<7.0/rich/' setup.py
}
build() {
cd "$srcdir/$pkgname-$pkgver"
python setup.py build
}
package() {
cd "$srcdir/$pkgname-$pkgver"
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -D -m644 LICENSE.community "$pkgdir/usr/share/licenses/$pkgname/LICENSE.community"
}
|