# PKGBUILD generated by pipman # Python package author: Léo Flaventin Hauchecorne pkgname=python-tempiny pkgver=1.1 pkgrel=1 pkgdesc="Tiny template engine" arch=(any) url="https://github.com/hl037/tempiny" license=(LGPLv2.1+) makedepends=("python" "python-pip") build() { pip install --no-deps --target="tempiny" tempiny==1.1 } package() { sitepackages=$(python -c "import site; print(site.getsitepackages()[0])") mkdir -p $pkgdir/"$sitepackages" cp -r $srcdir/tempiny/* $pkgdir/"$sitepackages" }