aboutsummaryrefslogtreecommitdiffstats
path: root/main/hunspell
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-04-05 09:08:25 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-04-05 09:09:51 +0000
commit8d0edcf289130fcac2290bd36f82adf0c0bea332 (patch)
treeb6563f2de9c6c1fa5786008bf3bd4ab6877c517b /main/hunspell
parent980afaa54a31fdaa2bba27400c8f8a3535b43678 (diff)
downloadaports-8d0edcf289130fcac2290bd36f82adf0c0bea332.tar.bz2
aports-8d0edcf289130fcac2290bd36f82adf0c0bea332.tar.xz
main/hunspell: upgrade to 1.3.4
Diffstat (limited to 'main/hunspell')
-rw-r--r--main/hunspell/APKBUILD19
-rw-r--r--main/hunspell/fix-includes.patch22
2 files changed, 7 insertions, 34 deletions
diff --git a/main/hunspell/APKBUILD b/main/hunspell/APKBUILD
index f0e7827120..412a6c9826 100644
--- a/main/hunspell/APKBUILD
+++ b/main/hunspell/APKBUILD
@@ -1,22 +1,20 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=hunspell
-pkgver=1.3.3
-pkgrel=1
+pkgver=1.3.4
+pkgrel=0
pkgdesc="Spell checker and morphological analyzer library and program"
-url="http://hunspell.sourceforge.net/"
+url="http://hunspell.github.io/"
arch="all"
license="GPL2+ LGPL2+ MPL 1.1"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
depends=""
makedepends="gettext-dev"
-source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
- fix-includes.patch
+source="$pkgname-$pkgver.tar.gz::https://github.com/hunspell/hunspell/archive/v$pkgver.tar.gz
"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
- update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
@@ -41,9 +39,6 @@ package() {
make -j1 DESTDIR="$pkgdir" install || return 1
}
-md5sums="4967da60b23413604c9e563beacc63b4 hunspell-1.3.3.tar.gz
-42518efac9078bca4a313a5a9afba276 fix-includes.patch"
-sha256sums="a7b2c0de0e2ce17426821dc1ac8eb115029959b3ada9d80a81739fa19373246c hunspell-1.3.3.tar.gz
-f7d322213086c99757b8b806aa208187b13bd94ba879f022c154798203bc650b fix-includes.patch"
-sha512sums="7599981d002a4a032c41c83f6287243a4942b0e25c408049a3ba86c16f63ce964800a3ac325ace0402b0d7256690c4a4151a66f19a8f58cc455af0498bb1af04 hunspell-1.3.3.tar.gz
-48e555061e9b0c181d6ecb443100eae2c83a36a6bbdbbf94cc06d6176f5948a649a2a28f185040e194e95c27cf796b72c522733cc819c199c73b64d371d6add5 fix-includes.patch"
+md5sums="423cff69e68c87ac11e4aa8462951954 hunspell-1.3.4.tar.gz"
+sha256sums="55918522cb0041748507dd4f5aa92d043cef337aa589b9367c2221da084281ac hunspell-1.3.4.tar.gz"
+sha512sums="092818570f5eb152b2bf8d0964068510185304f41e1eb0946bf7589c640d21bff67d2b79b49f770e8c0baa9031ab449eefb9e3b0bce8a28e2fc4809007fefa99 hunspell-1.3.4.tar.gz"
diff --git a/main/hunspell/fix-includes.patch b/main/hunspell/fix-includes.patch
deleted file mode 100644
index 8f9b16dadf..0000000000
--- a/main/hunspell/fix-includes.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- hunspell-1.3.3.orig/src/tools/munch.c
-+++ hunspell-1.3.3/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>
---- hunspell-1.3.3.orig/src/tools/unmunch.c
-+++ hunspell-1.3.3/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>