summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d6bcb369e936e62e9da93b5e72b30df9f3a8bc4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Contributor: Alper KANAT  <alperkanat@raptiye.org>
# Contributor: Thomas Dziedzic < gostrc at gmail >

pkgname=python-simpletal
pkgver=5.1
pkgrel=1
pkgdesc='Standalone Python implementation of the TAL, TALES and METAL specifications used in Zope to power HTML and XML templates.'
arch=('any')
url='http://www.owlfish.com/software/simpleTAL/'
license=('BSD')
depends=('python')
source=("http://www.owlfish.com/software/simpleTAL/downloads/SimpleTAL-${pkgver}.tar.gz")
md5sums=('2c43fb2376d501c2957bda26c81c419f')

build() {
  cd SimpleTAL-${pkgver}

  python setup.py build
}

package() {
  cd SimpleTAL-${pkgver}

  python setup.py install --root=${pkgdir} --optimize=1

  install -D -m644 ${srcdir}/SimpleTAL-${pkgver}/LICENSE.txt \
    ${pkgdir}/usr/share/licenses/${pkgname}/license
}