blob: 1cde1b985e835332fd449e3b27c6853fc2df6754 (
plain)
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.8
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="4bfa771af0deab3d0ca5523abab1fdb14cb596747dba7cf887e8cd812601015f52502cbd3df68247f102bba259cb281414e9ccde83b8bdd3c8cc83c2fcbc9090 enchant-2.2.8.tar.gz"
|