33 lines
804 B
Bash
33 lines
804 B
Bash
# Template file for 'nuspell'
|
|
pkgname=nuspell
|
|
version=2.3.0
|
|
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 <johnz@posteo.net>"
|
|
license="LGPL-3.0-or-later"
|
|
homepage="https://nuspell.github.io/"
|
|
distfiles="https://github.com/nuspell/nuspell/archive/v${version}.tar.gz"
|
|
checksum=c81cfd50f851b5863ca26cd0c6bf9ebb7281a160c277f05c8583239321cacf3b
|
|
|
|
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"
|
|
}
|
|
}
|