mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 06:37:15 +08:00
34 lines
1005 B
Bash
34 lines
1005 B
Bash
#
|
|
# KDE SC Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
pkgname=hunspell
|
|
pkgver=1.2.11
|
|
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' 'readline')
|
|
optdepends=('perl: for ispellaff2myspell')
|
|
options=('!libtool')
|
|
source=(http://downloads.sourceforge.net/hunspell/hunspell-$pkgver.tar.gz)
|
|
md5sums=('8f57cdc4db091d69e1f682ed4d8ab282')
|
|
|
|
build() {
|
|
cd "$srcdir/hunspell-$pkgver"
|
|
./configure --prefix=/usr --disable-static \
|
|
--with-ui --with-readline --with-experimental || return 1
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/hunspell-$pkgver"
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
|
|
# Add a symlink for backwards compatibility with myspell
|
|
ln -s /usr/share/myspell "${pkgdir}/usr/share/hunspell"
|
|
}
|