vp-build/srcpkgs/aspell-en/template

33 lines
966 B
Bash
Raw Normal View History

# Template file for 'aspell-en'
pkgname=aspell-en
2017-01-23 17:48:12 +01:00
version=2017.01.22
2017-01-23 20:12:13 +01:00
revision=2
noarch=yes
wrksrc="aspell6-en-${version}-0"
build_style=configure
2015-01-16 18:26:48 +01:00
hostmakedepends="aspell-devel"
short_desc="English dictionary for aspell"
homepage="http://aspell.net/"
license="LGPL-2.1"
2017-01-23 17:48:12 +01:00
maintainer="Leah Neukirchen <leah@vuxu.org>"
distfiles="${GNU_SITE}/aspell/dict/en/aspell6-en-${version}-0.tar.bz2"
2017-01-23 17:48:12 +01:00
checksum=93c73fae3eab5ea3ca6db3cea8770715a820f1b7d6ea2b932dd66a17f8fd55e1
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 |
2017-01-23 20:12:13 +01:00
iconv -f ISO-8859-1 -t UTF-8 |
2015-01-16 18:21:21 +01:00
cut -d/ -f1 |
sort -u >${PKGDESTDIR}/usr/share/dict/american-english
precat en-common.cwl en_GB-ise-wo_accents-only.cwl |
2017-01-23 20:12:13 +01:00
iconv -f ISO-8859-1 -t UTF-8 |
2015-01-16 18:21:21 +01:00
cut -d/ -f1 |
sort -u >${PKGDESTDIR}/usr/share/dict/british-english
ln -s american-english ${PKGDESTDIR}/usr/share/dict/words
}
}