2013-10-07 09:42:00 +02:00
|
|
|
# Template file for 'aspell-en'
|
|
|
|
pkgname=aspell-en
|
|
|
|
version=7.1
|
2015-01-16 18:26:48 +01:00
|
|
|
revision=3
|
2014-01-01 16:10:11 +01:00
|
|
|
noarch=yes
|
2013-10-07 09:42:00 +02:00
|
|
|
wrksrc="aspell6-en-${version}-0"
|
|
|
|
build_style=configure
|
2015-01-16 18:26:48 +01:00
|
|
|
hostmakedepends="aspell-devel"
|
2013-10-07 09:42:00 +02:00
|
|
|
short_desc="English dictionary for aspell"
|
|
|
|
homepage="http://aspell.net/"
|
|
|
|
license="LGPL-2.1"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2013-10-07 09:42:00 +02:00
|
|
|
distfiles="${GNU_SITE}/aspell/dict/en/aspell6-en-${version}-0.tar.bz2"
|
|
|
|
checksum=ff9df3c2e8c5bb19c6a66078b36a0ef4c4dfb0fcb969e29f7b5345e26d748d0a
|
2015-01-16 18:21:21 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|