summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 53f467f10c4f3e16efc1a92a93965c4a75338913 (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
# Maintainer: Groctel <aur@taxorubio.com>
pkgname=manimce
pkgver=0.1.0
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-cairocffi'
	'python-colour'
	'python-numpy'
	'python-pillow'
	'python-progressbar'
	'python-pygments'
	'python-rich'
	'python-scipy'
	'python-tqdm'
	'python-watchdog'

	# AUR package
	'python-pydub'
)
optdepends=(
	'texlive-most: latex support'
)
provides=()
conflicts=('python-manimlib')
source=("https://files.pythonhosted.org/packages/f9/17/5b538d8350983c9a3baaaaa0345a0def774be463c909f61d56798a275089/manimce-0.1.0.tar.gz")
sha256sums=('402c0c91efe29375ba2a6306d48147b827922f34a3f5e3bef792829751dce550')

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"
}