summaryrefslogtreecommitdiff
path: root/repo/enchant2
diff options
context:
space:
mode:
Diffstat (limited to 'repo/enchant2')
-rw-r--r--repo/enchant2/enchant2.xibuild26
1 files changed, 26 insertions, 0 deletions
diff --git a/repo/enchant2/enchant2.xibuild b/repo/enchant2/enchant2.xibuild
new file mode 100644
index 0000000..afd5e0b
--- /dev/null
+++ b/repo/enchant2/enchant2.xibuild
@@ -0,0 +1,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
+}
+