diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..873440b7885e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Groctel <aur@taxorubio.com> +pkgbase=python-manimpango +pkgname=manimpango +pkgver=0.1.4 +pkgrel=1 +pkgdesc="C binding for Pango using Cython used in Manim to render (non-LaTeX) text." +arch=('any') +url="https://github.com/ManimCommunity/manimpango/" +license=('GPL3') +depends=( + 'pango' + 'python' +) +makedepends=( + 'python-setuptools' +) +provides=() +source=("https://github.com/ManimCommunity/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz") +sha256sums=('693fbc52ea60c75acb9c98f23fc8e98a429b5ce02ab761ef9db24e9d61d62a49') + +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 -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} |