blob: 37bd9e62579307d53d79780279b0eda2ce9299ff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# $Id: PKGBUILD 214337 2014-06-06 21:48:26Z andyrtr $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Contributor: Hussam Al-Tayeb <ht990332@gmail.com>
pkgname=hunspell
pkgver=1.3.3
pkgrel=1
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' 'readline')
optdepends=('perl: for ispellaff2myspell')
source=(http://downloads.sourceforge.net/hunspell/hunspell-$pkgver.tar.gz)
md5sums=('4967da60b23413604c9e563beacc63b4')
build() {
cd "$srcdir/hunspell-$pkgver"
./configure --prefix=/usr --disable-static \
--with-ui --with-readline --with-experimental
make
}
package() {
cd "$srcdir/hunspell-$pkgver"
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
}
|