#!/usr/bin/bash # JOBoRun : Jwm OpenBox Obarun RUNit # Maintainer : Joe Bo Run # PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname" # Website : https://pozol.eu #-----------------------------------------| DESCRIPTION |--------------------------------------- pkgname=enchant pkgver=2.7.3 pkgrel=02 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 } #---- arch license gpg-key & sha256sums ---- arch=(x86_64) license=(LGPL) sha512sums=('ca20ae45a42c1c3fec5ef81753f2bbfd1faaa33a6b0c60adc8ac77ab5eb0015be488a5b128b56cdface5f16c5bd3ea1623e9035a39d8453f7a3a713b04f392c7') sha256sums=(fe6ad4cbe8c71b9384ffdef962be52d4d2bd5ebfb6351435bb390543d4f78b1e) # enchant-2.7.3.tar.gz ## 7c25684e24b4863728ae132dca97abb785e162c6de3f9d2c2b517e9bc93b13fc enchant-2.7.3-02-x86_64.pkg.tar.lz