Commit d62949e3 authored by A. Wilcox's avatar A. Wilcox Committed by Natanael Copa

main/aspell: modernise and add test suite

parent d12e2860
......@@ -2,23 +2,24 @@
# Contributor: Valery Kartel <valery.kartel@gmail.com>
pkgname=aspell
pkgver=0.60.6.1
pkgrel=11
pkgrel=12
pkgdesc="A spell checker designed to eventually replace Ispell"
url="http://aspell.net/"
arch="all"
license="LGPL2+"
subpackages="$pkgname-compat::noarch $pkgname-utils $pkgname-dev $pkgname-doc
$pkgname-libs"
$pkgname-lang $pkgname-libs"
depends=
depends_dev="$pkgname-utils"
makedepends="ncurses-dev perl"
makedepends="ncurses-dev perl gettext-dev"
install=
source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver
prepare() {
default_prepare || return 1
update_config_sub || return 1
cd "$builddir"
default_prepare
update_config_sub
}
build() {
......@@ -30,14 +31,18 @@ build() {
--sysconfdir=/etc \
--enable-dict-dir=/usr/share/$pkgname \
--enable-pkgdatadir=/usr/share/$pkgname \
--enable-compile-in-filters \
|| return 1
make || return 1
--enable-compile-in-filters
make
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
make DESTDIR="$pkgdir" install
}
compat() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment