aboutsummaryrefslogtreecommitdiffstats
path: root/main/aspell-en/APKBUILD
blob: 63fb0fc45b722896c908088d60bb57b3e24ca66e (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
# Contributor: Valery Kartel <valery.kartel@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=aspell-en
pkgver=2017.01.22
pkgrel=0
_lang=${pkgname##*-}
_name=${pkgname%%-*}6-$_lang-$pkgver-0
pkgdesc="English dictionary for aspell"
url="http://aspell.net/"
arch="noarch"
license="custom"
depends=""
makedepends="aspell-dev"
source="http://ftp.gnu.org/gnu/aspell/dict/$_lang/$_name.tar.bz2"
builddir="$srcdir"/$_name

build () {
	cd "$builddir"
	./configure || return 1
	make || return 1
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install || return 1
	install -D -m644 Copyright \
		"$pkgdir"/usr/share/licenses/$pkgname/LICENSE || return 1
}

md5sums="a6e002076574de9dc4915967032a1dab aspell6-en-2017.01.22-0.tar.bz2"
sha256sums="93c73fae3eab5ea3ca6db3cea8770715a820f1b7d6ea2b932dd66a17f8fd55e1  aspell6-en-2017.01.22-0.tar.bz2"
sha512sums="2721ffdc7f2823b9104a0d7cfa10d1ba9581432dcbb2584b9519e56a621520177eef55ea5bf9803503c429201141ce0ed4001e75c6b9385bca2fbf8986617a66  aspell6-en-2017.01.22-0.tar.bz2"