summaryrefslogtreecommitdiffstats
path: root/abs/extra/community/python-mako/PKGBUILD
blob: 8d68c9b1a2765ba4e968e1783c337f4644ecbfce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# $Id: PKGBUILD 87883 2010-08-18 15:32:33Z ibiru $
# Maintainer : Ionut Biru <ibiru@archlinux.org>
# Contributor: Roberto Alsina <ralsina@kde.org>
pkgname=python-mako
pkgver=0.3.4
pkgrel=4
pkgdesc="Hyperfast and lightweight templating for the Python platform."
arch=('any')
url="http://www.makotemplates.org/"
license=('custom')
depends=('python2' 'python-markupsafe>=0.9.2' 'python-beaker>=1.5.4')
makedepends=('setuptools')
source=(http://www.makotemplates.org/downloads/Mako-$pkgver.tar.gz)
md5sums=('2ae56ccc6c9b5c4e2e67f42b69475009')

build() {
  cd "$srcdir/Mako-$pkgver"
  python2 setup.py install --root="$pkgdir" --optimize=1 || return 1
  install -D LICENSE "$pkgdir/usr/share/licenses/python-mako/COPYING" || return 1
}