summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 275d282d7f76d4a58d2360234cdc2133a4799768 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Maintainer: Asger Hautop Drewsen <asgerdrewsen@gmail.com>
# PKGBUILD generated by pipman
# Python package author: Philippe Faist <philippe.faist@bluewin.ch>
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"
}