aboutsummaryrefslogtreecommitdiffstats
path: root/main/hunspell/APKBUILD
blob: 21570f2ac5d7c70af7edbf52ca13c03d13561b5d (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=hunspell
pkgver=1.3.1
pkgrel=0
pkgdesc="Spell checker and morphological analyzer library and program"
url="http://hunspell.sourceforge.net/"
arch="all"
license="GPL LGPL MPL"
subpackages="$pkgname-dev $pkgname-doc"
depends=
makedepends="gettext-dev"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"

build() {
	cd "$srcdir/hunspell-$pkgver"
	./configure --prefix=/usr \
		--disable-static \
		--without-included-gettext || return 1
	make || return 1
}

package() {
	cd "$srcdir/hunspell-$pkgver"
	make -j1 DESTDIR="$pkgdir" install || return 1
}

md5sums="9ed97fce60a9a65852402248a6659492  hunspell-1.3.1.tar.gz"