python-texttable: update to 1.3.1
[void-packages.git] / srcpkgs / aspell-en / template
blob6be3abe5ded59e25c7afd1691992cd710cbf5d57
1 # Template file for 'aspell-en'
2 pkgname=aspell-en
3 version=2018.04.16
4 revision=1
5 wrksrc="aspell6-en-${version}-0"
6 build_style=configure
7 hostmakedepends="aspell-devel"
8 short_desc="English dictionary for aspell"
9 maintainer="Leah Neukirchen <leah@vuxu.org>"
10 license="LGPL-2.1-or-later"
11 homepage="http://aspell.net/"
12 distfiles="${GNU_SITE}/aspell/dict/en/aspell6-en-${version}-0.tar.bz2"
13 checksum=f11071e74b0c0753f4afabf024941a5c3a96bafe3879211ebd47bc34e76fbd2f
14 noarch=yes
16 words-en_package() {
17         short_desc="English dictionary word list"
18         noarch=yes
19         pkg_install() {
20                 vmkdir usr/share/dict
21                 precat en-common.cwl en_US-wo_accents-only.cwl |
22                         iconv -f ISO-8859-1 -t UTF-8 |
23                         cut -d/ -f1 |
24                         sort -u >${PKGDESTDIR}/usr/share/dict/american-english
25                 precat en-common.cwl en_GB-ise-wo_accents-only.cwl |
26                         iconv -f ISO-8859-1 -t UTF-8 |
27                         cut -d/ -f1 |
28                         sort -u >${PKGDESTDIR}/usr/share/dict/british-english
29                 ln -s american-english ${PKGDESTDIR}/usr/share/dict/words
30         }