blob: aa8d2e0645abeb2033eef03d5ac0e6f918167861 (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=hunspell
pkgver=1.7.2
pkgrel=1
pkgdesc="Spell checker and morphological analyzer library and program"
url="https://hunspell.github.io/"
arch="all"
license="GPL-2.0-or-later OR LGPL-2.1-or-later OR MPL-1.1"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang lib$pkgname:libs"
makedepends="gettext-dev ncurses-dev readline-dev"
checkdepends="bash"
source="https://github.com/hunspell/hunspell/releases/download/v$pkgver/hunspell-$pkgver.tar.gz"
# secfixes:
# 1.7.0-r1:
# - CVE-2019-16707
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--with-ui \
--with-readline \
--disable-static \
--without-included-gettext
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="
49b3619bff12e111b6cc3f3d9463612b116f9b2a976896718e65f5bc4a83ece11100aaf56a4d18127ea39107446c495e12affe5ff3c9159ae8aba70e512f44ac hunspell-1.7.2.tar.gz
"
|