# $Id: PKGBUILD 49768 2009-08-15 15:16:56Z jgc $ # Maintainer: Tobias Powalowski pkgname=hspell pkgver=1.0 pkgrel=3 pkgdesc="Hebrew spell-checker" arch=(i686 x86_64) license=('GPL') url="http://www.ivrix.org.il/projects/spell-checker/" depends=('glibc' 'zlib' 'perl') options=('!libtool' '!makeflags') source=(ftp://ftp.archlinux.org/other/hspell/${pkgname}-${pkgver}.tar.gz) md5sums=('3e12fa383c2cfd430918d115f33f9841') build() { cd "${srcdir}/${pkgname}-${pkgver}" [ "${CARCH}" = "x86_64" ] && export CFLAGS="${CFLAGS} -fPIC" sed -i -e 's|/usr/bin/awk|/bin/awk|' wzip ./configure --prefix=/usr --mandir=/usr/share/man \ --enable-linginfo || return 1 make || return 1 make DESTDIR="${pkgdir}" install || return 1 }