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

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

package() {
	cd "$srcdir/hunspell-$pkgver"
	make -j1 DESTDIR="$pkgdir" install || return 1
	rm -rf "$pkgdir"/usr/share/locale/locale.alias
}
md5sums="c2f289af57a677e6b258f2d18ecb178e  hunspell-1.2.14.tar.gz"