8dbed7c764
Adopted.
32 lines
1,012 B
Bash
32 lines
1,012 B
Bash
# Template file for 'aspell-en'
|
|
pkgname=aspell-en
|
|
version=2016.11.20
|
|
revision=1
|
|
noarch=yes
|
|
wrksrc="aspell6-en-${version}-0"
|
|
build_style=configure
|
|
hostmakedepends="aspell-devel"
|
|
short_desc="English dictionary for aspell"
|
|
homepage="http://aspell.net/"
|
|
license="LGPL-2.1"
|
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
|
distfiles="${GNU_SITE}/aspell/dict/en/aspell6-en-${version}-0.tar.bz2"
|
|
checksum=5ca6da8b850c36c2f718d51c653e2f8f68b612f29b5c20d99f704b01a1952691
|
|
|
|
words-en_package() {
|
|
short_desc="English dictionary word list"
|
|
noarch=yes
|
|
pkg_install() {
|
|
vmkdir usr/share/dict
|
|
precat en-common.cwl en_US-wo_accents-only.cwl |
|
|
iconv --from-code=ISO-8859-1 --to-code=UTF-8 |
|
|
cut -d/ -f1 |
|
|
sort -u >${PKGDESTDIR}/usr/share/dict/american-english
|
|
precat en-common.cwl en_GB-ise-wo_accents-only.cwl |
|
|
iconv --from-code=ISO-8859-1 --to-code=UTF-8 |
|
|
cut -d/ -f1 |
|
|
sort -u >${PKGDESTDIR}/usr/share/dict/british-english
|
|
ln -s american-english ${PKGDESTDIR}/usr/share/dict/words
|
|
}
|
|
}
|
|
|