From cfa25f4b36a65bef2c5f799350e02803ee9410e1 Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Fri, 7 Dec 2012 09:03:55 -0600
Subject: hunspell: 1.3.2

---
 abs/extra/hunspell/ChangeLog   |  6 ------
 abs/extra/hunspell/PKGBUILD    | 27 +++++++++++++++++----------
 abs/extra/hunspell/__changelog |  1 -
 3 files changed, 17 insertions(+), 17 deletions(-)
 delete mode 100644 abs/extra/hunspell/ChangeLog
 delete mode 100644 abs/extra/hunspell/__changelog

diff --git a/abs/extra/hunspell/ChangeLog b/abs/extra/hunspell/ChangeLog
deleted file mode 100644
index dcb3a2a..0000000
--- a/abs/extra/hunspell/ChangeLog
+++ /dev/null
@@ -1,6 +0,0 @@
-2008-12-02  Alexander Fehr  <pizzapunk gmail com>
-
-  * hunspell-1.2.8-1:
-  New upstream release.
-  New maintainer.
-  Added ChangeLog.
diff --git a/abs/extra/hunspell/PKGBUILD b/abs/extra/hunspell/PKGBUILD
index 87f46cb..a4b178a 100644
--- a/abs/extra/hunspell/PKGBUILD
+++ b/abs/extra/hunspell/PKGBUILD
@@ -1,26 +1,33 @@
-# $Id: PKGBUILD 20746 2008-12-06 14:17:50Z alexanderf $
-# Maintainer: Alexander Fehr <pizzapunk gmail com>
+# $Id: PKGBUILD 166664 2012-09-15 07:49:23Z andyrtr $
+# Maintainer: Andreas Radke <andyrtr@archlinux.org>
 # Contributor: Hussam Al-Tayeb <ht990332@gmail.com>
 
 pkgname=hunspell
-pkgver=1.2.12
-pkgrel=1
+pkgver=1.3.2
+pkgrel=2
 pkgdesc="Spell checker and morphological analyzer library and program"
 arch=('i686' 'x86_64')
 url="http://hunspell.sourceforge.net/"
 license=('GPL' 'LGPL' 'MPL')
-depends=('gcc-libs')
+depends=('gcc-libs' 'readline')
+optdepends=('perl: for ispellaff2myspell')
 options=('!libtool')
 source=(http://downloads.sourceforge.net/hunspell/hunspell-$pkgver.tar.gz)
+md5sums=('3121aaf3e13e5d88dfff13fb4a5f1ab8')
 
 build() {
   cd "$srcdir/hunspell-$pkgver"
-
-  ./configure --prefix=/usr --disable-static || return 1
-  make || return 1
+  ./configure --prefix=/usr --disable-static \
+	--with-ui --with-readline --with-experimental
+  make
 }
+
 package() {
   cd "$srcdir/hunspell-$pkgver"
-  make DESTDIR="$pkgdir" install || return 1
+  make DESTDIR="$pkgdir" install
+  
+  # add generic hunspell.so for development and projects not using pkgconfig flags - FS#30592
+  pushd $pkgdir/usr/lib
+  ln -s libhunspell-?.?.so libhunspell.so
+  popd
 }
-md5sums=('5ef2dc1026660d0ffb7eae7b511aee23')
diff --git a/abs/extra/hunspell/__changelog b/abs/extra/hunspell/__changelog
deleted file mode 100644
index 173ca43..0000000
--- a/abs/extra/hunspell/__changelog
+++ /dev/null
@@ -1 +0,0 @@
-update to 1.2.11
-- 
cgit v0.12