blob: cedc2eaff840abe0910309ba5a29e714b3c77682 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# PKGBUILD generated by pipman
# Python package author: Léo Flaventin Hauchecorne <hl037.prog@gmail.com>
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"
}
|