blob: cd2775dcacb64111a1d235425df51e673bd93bec (
plain) (
tree)
|
|
# Contributor: Valery Kartel <valery.kartel@gmail.com>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=aspell
pkgver=0.60.8.1
pkgrel=0
pkgdesc="Libre spell checker software"
url="http://aspell.net/"
arch="all"
license="LGPL-2.0+"
depends="perl"
makedepends="ncurses-dev perl"
provides="aspell-utils"
subpackages="$pkgname-compat::noarch $pkgname-dev $pkgname-doc
$pkgname-lang"
source="https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz"
# secfixes:
# 0.60.8-r0:
# - CVE-2019-17544
build() {
LIBS="-ltinfo" ./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--enable-dict-dir=/usr/share/$pkgname \
--enable-pkgdatadir=/usr/share/$pkgname \
--enable-compile-in-filters
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
}
compat() {
pkgdesc="aspell compatibility scripts for ispell and unix spell"
depends="$pkgname"
install -d "$subpkgdir"/usr/bin
cd "$pkgdir"/usr/share/$pkgname
mv spell ispell "$subpkgdir"/usr/bin/
}
sha512sums="80fa9d7f5f4b8bf66388825ae28403713a2e3eda81fc31f2f452c3e2fe8349cd0fa8f0e4d0d3f8cffe215817229af25aa7be2dba358cb9cdc97e9d2834ba5ca7 aspell-0.60.8.1.tar.gz"
|