summaryrefslogtreecommitdiffstats
path: root/abs/extra/community/python-markupsafe/PKGBUILD
blob: 92c9282c6aca7ecaf1a17caed7c4764064af8aed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $Id: PKGBUILD 87877 2010-08-18 15:28:18Z ibiru $
# Maintainer : Ionut Biru <ibiru@archlinux.org>
# Contributor: Alex Anthony <alex.anthony28991@gmail.com>

pkgname=python-markupsafe
pkgver=0.9.2
pkgrel=2
pkgdesc="Implements a XML/HTML/XHTML Markup safe string for Python"
arch=('i686' 'x86_64')
url="http://pypi.python.org/pypi/MarkupSafe"
license=('custom')
depends=('python2')
makedepends=('setuptools')
source=(http://pypi.python.org/packages/source/M/MarkupSafe/MarkupSafe-${pkgver}.tar.gz)
md5sums=('69b72d1afdd9e808f9c1ef65f819c7a6')

build() {
  cd ${srcdir}/MarkupSafe-${pkgver}
  python2 setup.py install --root=${pkgdir} --optimize=1

  install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}