mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 07:57:27 +08:00
23 lines
824 B
Bash
23 lines
824 B
Bash
|
# $Id: PKGBUILD 56303 2009-10-21 14:13:18Z andrea $
|
||
|
# Contributor: Simo Leone <simo@archlinux.org>
|
||
|
# Contributor: William Rea <sillywilly@gmail.com>
|
||
|
# Contributor: Todd Maynard <arch@toddmaynard.com>
|
||
|
|
||
|
pkgname=setuptools
|
||
|
pkgver=0.6c11
|
||
|
pkgrel=1
|
||
|
pkgdesc="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=('7df2a529a074f613b509fb44feefe74e')
|
||
|
|
||
|
build() {
|
||
|
cd $srcdir/$pkgname-$pkgver
|
||
|
mkdir -p $pkgdir/usr/lib/python2.6/site-packages
|
||
|
python setup.py install --root=$pkgdir || return 1
|
||
|
echo "/usr/lib/python2.6/site-packages/$pkgname-$pkgver-py2.6.egg" > $pkgdir/usr/lib/python2.6/site-packages/setuptools.pth
|
||
|
}
|