# $Id$ # Maintainer: Felix Yan # Contributor: Jochem Kossen # Contributor: dorphell # Contributor: Thayer Williams # Contributor: Daniel J Griffiths pkgname=aspell pkgver=0.60.6.1 _pkgmajorver=0.60 pkgrel=5 pkgdesc="A spell checker designed to eventually replace Ispell" arch=('x86_64') url="http://aspell.net/" license=('LGPL') depends=('gcc-libs' 'ncurses') optdepends=('perl: to import old dictionaries') source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz gcc7fixes.patch) sha1sums=('ff1190db8de279f950c242c6f4c5d5cdc2cbdc49' 'df5364a8472154452f4e1fe9db0891df457949e0') build() { cd "${srcdir}/${pkgname}-${pkgver}" patch -p1 < $srcdir/gcc7fixes.patch ./configure --prefix=/usr --sysconfdir=/etc make } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install ln -s ${pkgname}-${_pkgmajorver} "${pkgdir}/usr/lib/${pkgname}" }