# Maintainer: Asger Hautop Drewsen # PKGBUILD generated by pipman # Python package author: Philippe Faist pkgname=python-pylatexenc pkgver=1.3 pkgrel=1 pkgdesc="Python library for encoding unicode to latex and for parsing LaTeX to generate unicode text" arch=(any) url="https://github.com/phfaist/pylatexenc" license=(MIT) makedepends=("python" "python-pip") build() { pip install --no-deps --target="pylatexenc" pylatexenc } package() { sitepackages=$(python -c "import site; print(site.getsitepackages()[0])") mkdir -p $pkgdir/"$sitepackages" cp -r $srcdir/pylatexenc/* $pkgdir/"$sitepackages" }