# $Id: PKGBUILD 25240 2009-01-24 17:01:26Z douglas $ # Maintainer: Aaron Griffin # Contributor: Todd Maynard 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')