aboutsummaryrefslogtreecommitdiffstats
path: root/testing/enchant2/APKBUILD
blob: 1f159eab7466d18657d9ea3bf32cf47b03eecd25 (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
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=enchant2
pkgver=2.2.6
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="162e65e47833d18585a4d2d3577f8930ec0f03d290bf97a4ace25b3bb03dd738cc592b09ef7cf59b59f2fa194e24d58be745ec9eae78e3f2a3c252381f40e1c1  enchant-2.2.6.tar.gz"