summaryrefslogtreecommitdiff
path: root/user/enchant/APKBUILD
blob: f9366a4de40d55cffa4f8a75691121003939ce83 (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: 
pkgname=enchant
pkgver=2.2.5
pkgrel=0
pkgdesc="Generic library for spell checking"
url="https://abiword.github.io/enchant/"
arch="all"
options="!check"  # Requires dictionary that it can't find
license="LGPL-2.0+"
subpackages="$pkgname-dev $pkgname-doc"
depends=""
checkdepends="aspell-dict-en unittest-cpp-dev"
makedepends="aspell-dev bash dbus-glib-dev file glib-dev hunspell-dev"
source="https://github.com/AbiWord/enchant/releases/download/v$pkgver/enchant-$pkgver.tar.gz"

build() {
	CC="gcc" OBJC="gcc" ./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--disable-static
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="cc4d00ea2c94fcf2cef0281e13b86c49cfbff74c60315126bab8b1d91d8da1fb8fd0dc215a1eb44b07d8be33bc54cb9e63107874ef1caa04714fbe4b7484280f  enchant-2.2.5.tar.gz"