PKGBUILDs/community/pyenchant/PKGBUILD

26 lines
810 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: Sebastien Piccand <sebcactus gmail com>
pkgname=pyenchant
pkgver=1.5.3
pkgrel=1
pkgdesc="PyEnchant is a spellchecking library for Python based on the Enchant library"
arch=('i686' 'x86_64')
url="http://pyenchant.sourceforge.net"
license=('LGPL')
depends=('python>=2.6' 'enchant')
makedepends=('setuptools')
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('d327fb9c8620ecc261a424083dc9aa95')
build() {
cd $srcdir/$pkgname-$pkgver
# fix ez_tools issue
sed -i "s/import ez_setup/#import ez_setup/" setup.py
sed -i "s/ez_setup.use_setuptools()/#ez_setup.use_setuptools()/" setup.py
python setup.py install --root=$pkgdir || return 1
}