aboutsummaryrefslogtreecommitdiffstats
path: root/community/enchant2/APKBUILD
blob: 84b4f772cb25033d6f6e05c62ebc9063270bc414 (plain) (blame)
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
27
28
29
30
31
32
33
34
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=enchant2
pkgver=2.2.13
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 gettext-dev file bash nuspell-dev"
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 \
		--with-nuspell
	make
}

check() {
	make check
}

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

sha512sums="8bd4c05224528c3d4cdcd927ead3071ef7caa54971ea86b83cf711e6f7108431bcdf53f7e12a2216cf5535ac40d8d7c116787adbd43837d317b0e56b14eeea36  enchant-2.2.13.tar.gz"