summaryrefslogtreecommitdiff
path: root/repo/enchant2/enchant2.xibuild
blob: 607e25f59f7e7f6e8cd15de9c93d1ebe038e8be3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/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
}

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