33 lines
879 B
Bash
33 lines
879 B
Bash
# Template file for 'hunspell'
|
|
pkgname=hunspell
|
|
version=1.3.4
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--with-ui"
|
|
hostmakedepends="pkg-config bison"
|
|
makedepends="ncurses-devel"
|
|
short_desc="An Improved spellchecker"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
homepage="https://hunspell.github.io/"
|
|
license="GPL-2, LGPL-2.1, MPL-1.1"
|
|
distfiles="https://github.com/hunspell/hunspell/archive/v${version}.tar.gz"
|
|
checksum=55918522cb0041748507dd4f5aa92d043cef337aa589b9367c2221da084281ac
|
|
|
|
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
|
|
}
|
|
}
|