summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO11
-rw-r--r--PKGBUILD17
2 files changed, 17 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5c83bda592f5..9c4ab0b1c332 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,10 @@
+# Generated by mksrcinfo v8
+# Thu Apr 21 01:32:54 UTC 2016
pkgbase = mingw-w64-hunspell
pkgdesc = Spell checker and morphological analyzer library (mingw-w64)
- pkgver = 1.3.3
+ pkgver = 1.3.4
pkgrel = 1
- url = http://hunspell.sourceforge.net/
+ url = http://hunspell.github.io/
arch = any
license = GPL
license = LGPL
@@ -12,9 +14,10 @@ pkgbase = mingw-w64-hunspell
options = !strip
options = !buildflags
options = staticlibs
- source = http://downloads.sourceforge.net/hunspell/hunspell-1.3.3.tar.gz
+ options = !debug
+ source = https://github.com/hunspell/hunspell/archive/v1.3.4.tar.gz
source = hunspell-1.3.2-canonicalhost.patch
- md5sums = 4967da60b23413604c9e563beacc63b4
+ md5sums = 423cff69e68c87ac11e4aa8462951954
md5sums = f8a5c0f3692a390d98daf0406da59cdf
pkgname = mingw-w64-hunspell
diff --git a/PKGBUILD b/PKGBUILD
index 1fd0ddec9325..64bf01d479b7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,16 +1,16 @@
pkgname=mingw-w64-hunspell
-pkgver=1.3.3
+pkgver=1.3.4
pkgrel=1
pkgdesc="Spell checker and morphological analyzer library (mingw-w64)"
arch=(any)
-url="http://hunspell.sourceforge.net/"
+url="http://hunspell.github.io/"
license=("GPL" "LGPL" "MPL")
makedepends=(mingw-w64-configure)
depends=(mingw-w64-gettext)
-options=(!strip !buildflags staticlibs)
-source=("http://downloads.sourceforge.net/hunspell/hunspell-$pkgver.tar.gz"
+options=(!strip !buildflags staticlibs !debug)
+source=("https://github.com/hunspell/hunspell/archive/v${pkgver}.tar.gz"
"hunspell-1.3.2-canonicalhost.patch")
-md5sums=('4967da60b23413604c9e563beacc63b4'
+md5sums=('423cff69e68c87ac11e4aa8462951954'
'f8a5c0f3692a390d98daf0406da59cdf')
_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
@@ -29,8 +29,11 @@ build() {
--disable-rpath \
--enable-threads=win32 \
--without-ui \
- --without-readline \
- --with-experimental
+ --without-readline
+ # temporarily copy hunvisapi.h to work around build process
+ # where the file is not spotted.
+ cp ${srcdir}/hunspell-${pkgver}/build-${_arch}/src/hunspell/hunvisapi.h \
+ "${srcdir}/hunspell-${pkgver}/src/hunspell"
make
popd
done