summaryrefslogtreecommitdiff
path: root/extra/python-markupsafe/PKGBUILD
blob: 4fba8e3632f9b8b4f0167b7b2fbee8c86f505532 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $Id: PKGBUILD 113450 2011-03-08 17:36:15Z ibiru $
# Maintainer : Ionut Biru <ibiru@archlinux.org>
# Contributor: Alex Anthony <alex.anthony28991@gmail.com>

pkgname=python-markupsafe
pkgver=0.12
pkgrel=0
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=('edd4b6950f6d4ddc6e23fa322f8f0f53')

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

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