New package: nuspell-2.3.0

resolves #13783
This commit is contained in:
John 2019-08-19 16:34:49 +02:00 committed by John Zimmermann
parent 77e1ce72d3
commit fdafb630b7
4 changed files with 35 additions and 0 deletions

View file

@ -3497,3 +3497,4 @@ libheif.so.1 libheif-1.4.0_1
libuninameslist.so.1 libuninameslist-20190701_1
libgambit.so.4 gambit-4.9.3_1
liblog4cpp.so.5 log4cpp-1.1.3_1
libnuspell.so.2 libnuspell-2.3.0_1

1
srcpkgs/libnuspell Symbolic link
View file

@ -0,0 +1 @@
nuspell

1
srcpkgs/libnuspell-devel Symbolic link
View file

@ -0,0 +1 @@
nuspell

32
srcpkgs/nuspell/template Normal file
View file

@ -0,0 +1,32 @@
# 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"
}
}