hunspell: update to 1.3.4, moved to github

This commit is contained in:
Alessio Sergi 2016-05-30 01:11:11 +02:00
parent 9bff67134a
commit 6eb25aa65c
2 changed files with 9 additions and 31 deletions

View File

@ -1,22 +0,0 @@
--- src/tools/munch.c
+++ src/tools/munch.c
@@ -9,7 +9,7 @@
#include <sys/stat.h>
#include <fcntl.h>
#include <limits.h>
-#if defined(__linux__) && !defined(__ANDROID__)
+#if defined(__GLIBC__)
#include <error.h>
#include <errno.h>
#include <sys/mman.h>
--- src/tools/unmunch.c
+++ src/tools/unmunch.c
@@ -10,7 +10,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
-#if defined(__linux__) && !defined(__ANDROID__)
+#if defined(__GLIBC__)
#include <error.h>
#include <errno.h>
#include <sys/mman.h>

View File

@ -1,22 +1,22 @@
# Template file for 'hunspell'
pkgname=hunspell
version=1.3.3
revision=5
version=1.3.4
revision=1
build_style=gnu-configure
configure_args="--with-ui"
hostmakedepends="pkg-config bison"
makedepends="ncurses-devel"
short_desc="An Improved spellchecker"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://hunspell.sourceforge.net"
license="GPL-2, LGPL, MPL"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
checksum=a7b2c0de0e2ce17426821dc1ac8eb115029959b3ada9d80a81739fa19373246c
homepage="https://hunspell.github.io/"
license="GPL-2, LGPL-2.1, MPL-1.1"
distfiles="https://github.com/hunspell/hunspell/archive/v${version}.tar.gz"
checksum=55918522cb0041748507dd4f5aa92d043cef337aa589b9367c2221da084281ac
libhunspell_package() {
short_desc+=" - runtime library"
pkg_install() {
vmove "usr/lib/*.so.*"
vmove usr/lib/*.so.*
}
}
hunspell-devel_package() {
@ -25,8 +25,8 @@ hunspell-devel_package() {
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/*.a
vmove usr/lib/*.so
vmove usr/share/man/man3
}
}