diff options
Diffstat (limited to 'extra/python-markupsafe/PKGBUILD')
-rw-r--r-- | extra/python-markupsafe/PKGBUILD | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/extra/python-markupsafe/PKGBUILD b/extra/python-markupsafe/PKGBUILD new file mode 100644 index 000000000..4fba8e363 --- /dev/null +++ b/extra/python-markupsafe/PKGBUILD @@ -0,0 +1,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 +} |