summaryrefslogtreecommitdiff
path: root/repo/enchant2/enchant2.xibuild
blob: 25f39bf55e679a1668e01c87fec7b8f599f90d85 (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.3
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
}