mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
26 lines
810 B
Bash
26 lines
810 B
Bash
|
# $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
|
||
|
}
|