diff --git a/common/shlibs b/common/shlibs index 4313c6fc225..eae1c68eb9b 100644 --- a/common/shlibs +++ b/common/shlibs @@ -481,6 +481,7 @@ libicutest.so.59 icu-libs-59.1_1 libaspell.so.15 aspell-0.60_1 libpspell.so.15 aspell-0.60_1 libenchant.so.1 enchant-1.4.2_1 +libenchant-2.so.2 enchant2-2.2.3_1 libgconf-2.so.4 GConf-2.32.0_1 libsoup-2.4.so.1 libsoup-2.34.0_1 libsoup-gnome-2.4.so.1 libsoup-gnome-2.34.0_1 diff --git a/srcpkgs/enchant2-devel b/srcpkgs/enchant2-devel new file mode 120000 index 00000000000..de6f1dfe3ae --- /dev/null +++ b/srcpkgs/enchant2-devel @@ -0,0 +1 @@ +enchant2 \ No newline at end of file diff --git a/srcpkgs/enchant2/template b/srcpkgs/enchant2/template new file mode 100644 index 00000000000..7c256aee115 --- /dev/null +++ b/srcpkgs/enchant2/template @@ -0,0 +1,26 @@ +# Template file for 'enchant2' +pkgname=enchant2 +version=2.2.3 +revision=1 +wrksrc="enchant-${version}" +build_style=gnu-configure +hostmakedepends="pkg-config" +makedepends="glib-devel hunspell-devel" +short_desc="Generic spell checking library" +license="LGPL-2.1-or-later" +maintainer="maxice8 " +homepage="https://abiword.github.io/enchant/" +distfiles="https://github.com/AbiWord/enchant/releases/download/v${version}/enchant-${version}.tar.gz" +checksum=abd8e915675cff54c0d4da5029d95c528362266557c61c7149d53fa069b8076d + +enchant2-devel_package() { + depends="${makedepends} ${sourcepkg}>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + vmove "usr/lib/enchant-2/*.a" + vmove "usr/lib/*.so" + vmove usr/lib/pkgconfig + } +}