hunspell: update to 1.7.0.

[ci skip]
This commit is contained in:
maxice8 2018-11-13 20:45:23 -02:00
parent a538391197
commit 26dd361a3b
No known key found for this signature in database
GPG Key ID: 543B9D4F4299F06B
3 changed files with 13 additions and 7 deletions

View File

@ -1453,7 +1453,7 @@ libatomic_ops.so.1 libatomic_ops-7.4.2_1
libbfb.so.1 libbfb-0.24.2_1
libmulticobex.so.1 libmulticobex-0.24_1
libobexftp.so.0 libobexftp-0.24_1
libhunspell-1.6.so.0 libhunspell-1.6.0_1
libhunspell-1.7.so.0 libhunspell1.7-1.7.0_1
libstdlog.so.0 liblogging-1.0.0_1
liblogging-stdlog.so.0 liblogging-1.0.2_1
libdom.so.0 libdom-0.0.1_1

View File

@ -1,7 +1,7 @@
# Template file for 'hunspell'
pkgname=hunspell
version=1.6.2
revision=2
version=1.7.0
revision=1
build_style=gnu-configure
configure_args="--with-ui"
hostmakedepends="automake bison libtool pkg-config"
@ -11,22 +11,28 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="https://hunspell.github.io/"
license="GPL-2.0-or-later, LGPL-2.1-or-later, MPL-1.1"
distfiles="https://github.com/hunspell/hunspell/archive/v${version}.tar.gz"
checksum=3cd9ceb062fe5814f668e4f22b2fa6e3ba0b339b921739541ce180cac4d6f4c4
checksum=bb27b86eb910a8285407cf3ca33b62643a02798cf2eef468c0a74f6c3ee6bc8a
pre_configure() {
autoreconf -fi
}
libhunspell_package() {
libhunspell1.7_package() {
short_desc+=" - runtime library"
pkg_install() {
vmove usr/lib/*.so.*
vmove "usr/lib/*.so.*"
}
}
hunspell-devel_package() {
depends="libstdc++-devel ncurses-devel lib${sourcepkg}>=${version}_${revision}"
depends="libstdc++-devel ncurses-devel lib${sourcepkg}1.7>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
# Provides symlinks that don't have versions before the .so and .a parts
# this fixes builds with stuff that uses -lhunspell instead of -lhunspell-x.y
ln -rs "${DESTDIR}"/usr/lib/libhunspell-1.7.so ${DESTDIR}/usr/lib/libhunspell.so
ln -rs "${DESTDIR}"/usr/lib/libhunspell-1.7.a ${DESTDIR}/usr/lib/libhunspell.a
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.a