36 lines
969 B
Bash
36 lines
969 B
Bash
# Template file for 'hunspell'
|
|
pkgname=hunspell
|
|
version=1.6.2
|
|
revision=2
|
|
build_style=gnu-configure
|
|
configure_args="--with-ui"
|
|
hostmakedepends="automake bison libtool pkg-config"
|
|
makedepends="ncurses-devel"
|
|
short_desc="Spell checker and morphological analyzer"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
homepage="https://hunspell.github.io/"
|
|
license="GPL-2.0-or-later, LGPL-2.1-or-later, MPL-1.1"
|
|
distfiles="https://github.com/hunspell/hunspell/archive/v${version}.tar.gz"
|
|
checksum=3cd9ceb062fe5814f668e4f22b2fa6e3ba0b339b921739541ce180cac4d6f4c4
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
|
|
libhunspell_package() {
|
|
short_desc+=" - runtime library"
|
|
pkg_install() {
|
|
vmove usr/lib/*.so.*
|
|
}
|
|
}
|
|
hunspell-devel_package() {
|
|
depends="libstdc++-devel ncurses-devel lib${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/lib/*.a
|
|
vmove usr/lib/*.so
|
|
vmove usr/share/man/man3
|
|
}
|
|
}
|