# $Id: PKGBUILD 16826 2008-10-22 12:40:52Z douglas $ # Maintainer: simo <simo@archlinux.org> # Contributor: William Rea <sillywilly@gmail.com> # Contributor: Todd Maynard <arch@toddmaynard.com> pkgname=setuptools pkgver=0.6c9 pkgrel=2 pkgdesc="setuptools is a collection of enhancements to the Python distutils" license=('PSF') arch=(i686 x86_64) url="http://peak.telecommunity.com/DevCenter/setuptools" depends=('python') source=(http://cheeseshop.python.org/packages/source/s/$pkgname/$pkgname-$pkgver.tar.gz) md5sums=('3864c01d9c719c8924c455714492295e') build() { cd $startdir/src/$pkgname-$pkgver mkdir -p $startdir/pkg/usr/lib/python2.6/site-packages python setup.py install --root=$startdir/pkg echo "/usr/lib/python2.6/site-packages/$pkgname-$pkgver-py2.6.egg" > $startdir/pkg/usr/lib/python2.6/site-packages/setuptools.pth }