# PKGBUILD generated by pipman # Python package author: Sergio Correia pkgname=python-panflute pkgver=1.11.2 pkgrel=1 pkgdesc="Pythonic Pandoc filters" arch=(any) url="https://github.com/sergiocorreia/panflute" license=(BSD3) makedepends=("python" "python-pip") build() { pip install --no-deps --target="panflute" panflute==1.11.2 } package() { sitepackages=$(python -c "import site; print(site.getsitepackages()[0])") mkdir -p $pkgdir/"$sitepackages" cp -r $srcdir/panflute/* $pkgdir/"$sitepackages" }