PKGBUILDs/extra/python-cheetah/PKGBUILD
2009-10-09 21:23:22 -05:00

23 lines
761 B
Bash
Executable file

# $Id: PKGBUILD 46726 2009-07-19 22:37:30Z douglas $
# Maintainer: James Rayner <james@archlinux.org>
# Contributor: Todd Maynard <arch@toddmaynard.com>
pkgname=python-cheetah
pkgver=2.2.1
pkgrel=1
pkgdesc="A Python-powered template engine and code generator"
url="http://www.cheetahtemplate.org/"
license=(custom)
depends=('python')
provides=('cheetah')
conflicts=('cheetah')
arch=('i686' 'x86_64')
source=(http://downloads.sourceforge.net/sourceforge/cheetahtemplate/Cheetah-$pkgver.tar.gz)
install=python-cheetah.install
options=('force')
build() {
cd ${startdir}/src/Cheetah-$pkgver
python setup.py install --root=$startdir/pkg
install -D -m644 LICENSE $startdir/pkg/usr/share/licenses/$pkgname/LICENSE
}
md5sums=('137491aef378b502b2ee71c03b929faf')