blob: 1d573fe9e6b8642cc69fc84c103c32e481f3cb45 (
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
|
# Maintainer: Groctel <aur@taxorubio.com>
pkgname=manimce
pkgver=0.1.1
pkgrel=1
pkgdesc="Animation engine for explanatory math videos (community edition)."
arch=('any')
url="https://github.com/ManimCommunity/manim/"
license=('MIT' 'custom')
depends=(
'cairo'
'ffmpeg'
'python'
'python-cairo'
'python-cairocffi'
'python-colour'
'python-numpy'
'python-pillow'
# 'python-progressbar' Doesn't work, must be installed with pip
'python-pygments'
'python-rich'
'python-scipy'
'python-tqdm'
'python-watchdog'
)
makedepends=(
'python-pip'
'python-wheel'
)
optdepends=(
'texlive-most: latex support'
)
provides=()
conflicts=('python-manimlib')
source=("https://github.com/ManimCommunity/manim/releases/download/v$pkgver/manimce-$pkgver.tar.gz")
sha256sums=('9660f1bf2a9696e6b4c5313ffb4b223f66468df5ab554bc605ff42ce1076b9b2')
prepare() {
pip install pip --upgrade
pip install --no-cache --force \
grpcio \
grpcio-tools \
pangocffi==0.8.0 \
pangocairocffi \
progressbar \
pydub \
rich==6.0
}
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"
}
|