diff --git a/common/shlibs b/common/shlibs index 0b1dce208f7..b8b67e70713 100644 --- a/common/shlibs +++ b/common/shlibs @@ -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 diff --git a/srcpkgs/libnuspell b/srcpkgs/libnuspell new file mode 120000 index 00000000000..9f9f8485011 --- /dev/null +++ b/srcpkgs/libnuspell @@ -0,0 +1 @@ +nuspell \ No newline at end of file diff --git a/srcpkgs/libnuspell-devel b/srcpkgs/libnuspell-devel new file mode 120000 index 00000000000..9f9f8485011 --- /dev/null +++ b/srcpkgs/libnuspell-devel @@ -0,0 +1 @@ +nuspell \ No newline at end of file diff --git a/srcpkgs/nuspell/template b/srcpkgs/nuspell/template new file mode 100644 index 00000000000..dd0c032dba4 --- /dev/null +++ b/srcpkgs/nuspell/template @@ -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 " +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" + } +}