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

NAME="enchant2"
DESC="wrapper library for generic spell checking (v2)"

MAKEDEPS="aspell glib dbus-glib gettext file bash nuspell"

PKG_VER=2.3.2
SOURCE="https://github.com/AbiWord/enchant/releases/download/v$PKG_VER/enchant-$PKG_VER.tar.gz"

build() {
	./configure \
		--prefix=/usr \
		--disable-static \
		--with-nuspell
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$PKG_DEST" pkgdatadir=/usr/share/enchant-2 install
}