32 lines
791 B
Bash
32 lines
791 B
Bash
# Template file for 'nuspell'
|
|
pkgname=nuspell
|
|
version=5.1.6
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_SHARED_LIBS=ON"
|
|
hostmakedepends="pandoc"
|
|
makedepends="icu-devel 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=5d4baa1daf833a18dc06ae0af0571d9574cc849d47daff6b9ce11dac0a5ded6a
|
|
|
|
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"
|
|
}
|
|
}
|