blob: 982b64e387ec20ec4d2e8ea95cfbbfab2cc964b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=hunspell
pkgver=1.6.0
pkgrel=0
pkgdesc="Spell checker and morphological analyzer library and program"
url="http://hunspell.github.io/"
arch="all"
license="GPL2+ LGPL2+ MPL 1.1"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
depends=""
makedepends="gettext-dev ncurses-dev readline-dev autoconf automake libtool"
source="$pkgname-$pkgver.tar.gz::https://github.com/hunspell/hunspell/archive/v$pkgver.tar.gz
"
builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$builddir"
default_prepare || return 1
autoreconf -vif || return 1
}
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--with-ui \
--with-readline \
--disable-static \
--without-included-gettext \
|| return 1
make || return 1
}
package() {
cd "$builddir"
make -j1 DESTDIR="$pkgdir" install || return 1
}
md5sums="047c3feb121261b76dc16cdb62f54483 hunspell-1.6.0.tar.gz"
sha256sums="512e7d2ee69dad0b35ca011076405e56e0f10963a02d4859dbcc4faf53ca68e2 hunspell-1.6.0.tar.gz"
sha512sums="d13e0384654f98f87de61d3d6ec03fe4a0e972b49b7e220083c72c2dd99d169a4854160f7068baa34fe4d4bd85fa5c24b56587827b946fb072a2085173801ca9 hunspell-1.6.0.tar.gz"
|