summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/hspell/PKGBUILD
blob: 7700435916f3f893ddd6004eb8f75a861bbc764b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $Id: PKGBUILD 28768 2009-03-02 04:21:08Z eric $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>

pkgname=hspell
pkgver=1.0
pkgrel=2
pkgdesc="Hebrew spell-checker"
arch=(i686 x86_64)
license=('GPL')
url="http://www.ivrix.org.il/projects/spell-checker/"
depends=('glibc>=2.7' 'zlib' 'perl')
options=('!libtool' '!makeflags')
source=(ftp://ftp.archlinux.org/other/hspell/${pkgname}-${pkgver}.tar.gz)
md5sums=('3e12fa383c2cfd430918d115f33f9841')

build() {
  cd ${startdir}/src/${pkgname}-${pkgver} 
  [ "${CARCH}" = "x86_64" ] && export CFLAGS="${CFLAGS} -fPIC"
  sed -i -e 's|/usr/bin/awk|/bin/awk|' wzip
  ./configure --prefix=/usr  --enable-linginfo
  make || return 1
  make DESTDIR=${startdir}/pkg/ install || return 1
}