33 lines
806 B
Bash
33 lines
806 B
Bash
# Template file for 'nuspell'
|
|
pkgname=nuspell
|
|
version=3.1.2
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_SHARED_LIBS=ON"
|
|
hostmakedepends="ruby-ronn"
|
|
makedepends="boost-devel 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=f59f8a27e97047f30659182f244daca8e05e052710c0ea5d845c2cb00f6c6eca
|
|
|
|
libnuspell_package() {
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
}
|
|
}
|
|
|
|
libnuspell-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/lib/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|