aboutsummaryrefslogtreecommitdiffstats
path: root/community/enchant2/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/enchant2/APKBUILD')
-rw-r--r--community/enchant2/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/community/enchant2/APKBUILD b/community/enchant2/APKBUILD
new file mode 100644
index 0000000000..e8aa86a329
--- /dev/null
+++ b/community/enchant2/APKBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
+pkgname=enchant2
+pkgver=2.2.7
+pkgrel=0
+pkgdesc="A wrapper library for generic spell checking (v2)"
+url="https://abiword.github.io/enchant/"
+arch="all"
+license="LGPL-2.1-or-later"
+subpackages="$pkgname-dev $pkgname-doc"
+makedepends="aspell-dev glib-dev dbus-glib-dev hunspell-dev gettext-dev file
+ bash"
+options="!check" # needs unpackaged unittest-cpp
+source="https://github.com/AbiWord/enchant/releases/download/v$pkgver/enchant-$pkgver.tar.gz"
+builddir="$srcdir/enchant-$pkgver"
+
+build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --disable-static
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$pkgdir" pkgdatadir=/usr/share/enchant-2 install
+}
+
+sha512sums="696455cf782b3186d19988ed59ca3cc6030a431d44ef3828039590afb08fd282a79ce6246a342e6bf7a0bf3bf63d4822d841ba01394da9f9e4394a491b2373b6 enchant-2.2.7.tar.gz"