# Contributor: Valery Kartel # Maintainer: pkgname=aspell pkgver=0.60.6.1 pkgrel=15 pkgdesc="Libre spell checker software" url="http://aspell.net/" arch="all" license="LGPL-2.0+" depends="perl" makedepends="ncurses-dev perl" provides="aspell-utils" subpackages="$pkgname-compat::noarch $pkgname-dev $pkgname-doc $pkgname-lang" source="https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz aspell-0.60.6.1-gcc7-fixes.patch " prepare() { default_prepare update_config_sub } build() { LIBS="-ltinfo" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --enable-dict-dir=/usr/share/$pkgname \ --enable-pkgdatadir=/usr/share/$pkgname \ --enable-compile-in-filters make } check() { make check } package() { make DESTDIR="$pkgdir" install } compat() { pkgdesc="aspell compatibility scripts for ispell and unix spell" depends="$pkgname" install -d "$subpkgdir"/usr/bin cd "$pkgdir"/usr/share/$pkgname mv spell ispell "$subpkgdir"/usr/bin/ } sha512sums="f310c7590be98406589b5c26ca36a2ecfe4733f0b40fd6c176b96b7955ef2b5cd0ec9a3d770cf132146ae7a896042b4b698945112995ee1ae66adcfa5542247f aspell-0.60.6.1.tar.gz 7acdd483fa218952775282f42c28998b4901b1c70aeeef307835a205d1cde3fb2912898d08799ee596d744dde55d04e5c4905fb66d8bfa3028d1f5d45bb66d1e aspell-0.60.6.1-gcc7-fixes.patch"