PKGBUILDs/community/python-jinja/PKGBUILD

24 lines
726 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# $Id: PKGBUILD 1259 2009-08-14 04:40:24Z dgriffiths $
# Contributor: Peter Baldwin <bald_pete@hotmail.com>
pkgname=python-jinja
pkgver=2.1.1
pkgrel=3
pkgdesc="A simple pythonic template language written in Python"
license=("BSD")
url="http://jinja.pocoo.org/2/"
depends=('python')
makedepends=('setuptools')
source=(http://pypi.python.org/packages/source/J/Jinja2/Jinja2-$pkgver.tar.gz)
arch=('i686' 'x86_64')
build() {
cd $startdir/src/Jinja2-$pkgver
python setup.py install --root=$startdir/pkg
install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
install -dm755 ${pkgdir}/usr/share/doc
mv ${pkgdir}/usr/docs ${pkgdir}/usr/share/doc/${pkgname}
}
md5sums=('b37fc262e4f613eec57c3defe6aea97c')