diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-09-07 03:46:14 -0500 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-09-19 11:12:11 +0000 |
commit | d62949e324d650b7cc71253f80a23cc4b6c72769 (patch) | |
tree | dd2dc748a0c678c763fb5b0070c060adec515f7d /main/aspell | |
parent | d12e28603897bebc4f7b8e3c1a5183ffdff67d79 (diff) | |
download | aports-d62949e324d650b7cc71253f80a23cc4b6c72769.tar.bz2 aports-d62949e324d650b7cc71253f80a23cc4b6c72769.tar.xz |
main/aspell: modernise and add test suite
Diffstat (limited to 'main/aspell')
-rw-r--r-- | main/aspell/APKBUILD | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/main/aspell/APKBUILD b/main/aspell/APKBUILD index 65d1daa4c2..e9ce10ab02 100644 --- a/main/aspell/APKBUILD +++ b/main/aspell/APKBUILD @@ -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() { |