summaryrefslogtreecommitdiff
path: root/repo/aspell/aspell.xibuild
blob: 174b779d45d33f810ba89327238a659e16d9efd9 (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
#!/bin/sh

NAME="aspell"
DESC="A spell checker designed to eventually replace Ispell"

MAKEDEPS=" ncurses perl gettext"

PKG_VER=0.60.8
SOURCE="https://ftp.gnu.org/gnu/aspell/aspell-$PKG_VER.tar.gz"

ADDITIONAL="
CVE-2019-25051.patch
"

prepare() {
    apply_patches
}

build() {
	LDFLAGS="-lintl" \
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--enable-dict-dir=/usr/share/aspell \
		--enable-pkgdatadir=/usr/share/aspell \
		--enable-compile-in-filters
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$PKG_DEST" install
}