PKGBUILDs/extra/python-formencode/PKGBUILD
2009-10-09 21:23:22 -05:00

22 lines
776 B
Bash

# $Id: PKGBUILD 25240 2009-01-24 17:01:26Z douglas $
# Maintainer: Aaron Griffin <aaron@archlinux.org>
# Contributor: Todd Maynard <arch@toddmaynard.com>
pkgname=python-formencode
pkgver=1.2.1
pkgrel=1
pkgdesc="HTML form validation, generation, and conversion package for python"
license=('PSF')
arch=(i686 x86_64)
url="http://formencode.org"
depends=('python>=2.5')
makedepends=('setuptools')
source=(http://cheeseshop.python.org/packages/source/F/FormEncode/FormEncode-$pkgver.tar.gz)
build() {
cd $startdir/src/FormEncode-$pkgver
python setup.py install --root=$startdir/pkg install
echo "/usr/lib/python2.6/site-packages/FormEncode-$pkgver-py2.6.egg" >\
$startdir/pkg/usr/lib/python2.6/site-packages/$pkgname.pth
}
md5sums=('7030996497f3cf012bc9e99b4ca3e920')