2022-07-02 21:39:57 +02:00
|
|
|
#!/usr/bin/bash
|
|
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
|
|
|
|
# Website : https://pozol.eu
|
|
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
|
|
|
|
pkgname=enchant
|
2023-12-03 22:34:34 +01:00
|
|
|
pkgver=2.6.3
|
2023-12-15 22:52:50 +01:00
|
|
|
pkgrel=02
|
2022-07-02 21:39:57 +02:00
|
|
|
pkgdesc="A wrapper library for generic spell checking"
|
|
|
|
url="https://abiword.github.io/enchant/"
|
|
|
|
depends=('glib2')
|
|
|
|
makedepends=('aspell' 'hunspell' 'hspell' 'nuspell' 'libvoikko')
|
|
|
|
checkdepends=('unittestpp')
|
|
|
|
optdepends=('aspell: for aspell based spell checking support'
|
|
|
|
'hunspell: for hunspell based spell checking support'
|
|
|
|
'libvoikko: for libvoikko based spell checking support'
|
|
|
|
'hspell: for hspell based spell checking support'
|
|
|
|
'nuspell: for nuspell based spell checking support')
|
|
|
|
provides=('libenchant-2.so') # enchant_voikko.so enchant_nuspell.so enchant_hunspell.so enchant_hspell.so enchant_aspell.so)
|
|
|
|
source=("https://github.com/AbiWord/enchant/releases/download/v$pkgver/enchant-$pkgver.tar.gz")
|
|
|
|
|
|
|
|
prepare() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
autoreconf -vfi
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
--disable-static \
|
|
|
|
--enable-relocatable
|
|
|
|
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
make check
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
}
|
|
|
|
|
2023-03-13 18:48:43 +01:00
|
|
|
#---- arch license gpg-key & sha256sums ----
|
2022-07-02 21:39:57 +02:00
|
|
|
|
2023-03-13 18:48:43 +01:00
|
|
|
arch=(x86_64)
|
2022-07-02 21:39:57 +02:00
|
|
|
|
2023-03-13 18:48:43 +01:00
|
|
|
license=(LGPL)
|
|
|
|
|
2023-12-03 22:34:34 +01:00
|
|
|
sha256sums=(c1c5719f2a597ce3e06c938cfb99fb697da093dea7b857cc004dc1dcf1bba182) # enchant-2.6.3.tar.gz
|
2023-10-29 18:04:58 +01:00
|
|
|
|
2023-12-15 22:52:50 +01:00
|
|
|
## e18c39b182f6f4868267df5da20cb13fa9f5be8a5b0e31120e81a093faa48f59 enchant-2.6.3-02-x86_64.pkg.tar.lz
|
2023-10-17 19:11:43 +02:00
|
|
|
|