2017-11-26 12:24:57 +01:00
|
|
|
# Description: A wrapper library for generic spell checking.
|
|
|
|
# URL: https://abiword.github.io/enchant/
|
2023-08-18 20:48:24 +02:00
|
|
|
# Maintainer: John McQuah, jmcquah at disroot dot org
|
2023-09-27 12:45:37 +02:00
|
|
|
# Depends on: aspell glib
|
|
|
|
# Optional: hunspell
|
2006-11-14 00:01:22 +01:00
|
|
|
|
|
|
|
name=enchant
|
2024-05-04 13:50:40 +02:00
|
|
|
version=2.7.2
|
2017-11-26 12:24:57 +01:00
|
|
|
release=1
|
2017-11-26 13:30:57 +01:00
|
|
|
source=(https://github.com/AbiWord/$name/releases/download/v$version/$name-$version.tar.gz)
|
2006-11-14 00:01:22 +01:00
|
|
|
|
|
|
|
build() {
|
2023-07-10 23:29:42 +02:00
|
|
|
cd $name-$version
|
2008-05-14 16:57:17 +02:00
|
|
|
|
2024-04-22 19:53:24 +02:00
|
|
|
./configure --prefix=/usr --enable-relocatable
|
2008-05-14 16:57:17 +02:00
|
|
|
|
2023-07-10 23:29:42 +02:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2023-09-27 12:45:37 +02:00
|
|
|
|
2024-04-22 19:53:24 +02:00
|
|
|
rm -rf $PKG/usr/share/doc
|
2023-09-27 12:45:37 +02:00
|
|
|
find $PKG -name '*.la' -delete
|
2006-11-14 00:01:22 +01:00
|
|
|
}
|