summaryrefslogtreecommitdiff
path: root/user/enchant/APKBUILD
blob: f2ddc1c6505c25e44f941c1d9c5010e532c9ee20 (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
# Maintainer: 
pkgname=enchant
pkgver=2.2.3
pkgrel=0
pkgdesc="A wrapper library for generic spell checking"
url="https://abiword.github.io/enchant/"
arch="all"
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="abde9d6fec25edff694570455fd4c6e8e2e2c41a6b133bbb31a344761137a354cc1c655e53374cf712bf311c3732dc721e9ffd2dc933d78ec8ccf224350635d6  enchant-2.2.3.tar.gz"