void-packages/srcpkgs/nuspell/template

32 lines
781 B
Bash

# Template file for 'nuspell'
pkgname=nuspell
version=5.1.2
revision=2
build_style=cmake
configure_args="-DBUILD_SHARED_LIBS=ON"
makedepends="icu-devel"
checkdepends="catch2"
short_desc="C++ spell checking library"
maintainer="John <me@johnnynator.dev>"
license="LGPL-3.0-or-later"
homepage="https://nuspell.github.io/"
distfiles="https://github.com/nuspell/nuspell/archive/v${version}.tar.gz"
checksum=82f5f2faa82df30099555dca94b3a908d38fdba408e31e74535c523f7e6ea18d
libnuspell_package() {
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
libnuspell-devel_package() {
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}