void-packages/srcpkgs/aspell-de/template
Henry Precheur df3981aca2 aspell-de: remove noarch
aspell dictionnaries aren't architecture dependent: the dictionnary
format depends on size_t, therefor it needs to be made architecture
specific. This is why the dictionaries are stored in /usr/lib and not
in /usr/share.

This fixes the aspell-de package on amd64 and probably most 64bits
architectures.

More information about this:

http://aspell.net/0.61/man-html/Using-32_002dBit-Dictionaries-on-a-64_002dBit-System.html
2020-08-13 01:08:12 +00:00

24 lines
696 B
Bash

# Template file for 'aspell-de'
pkgname=aspell-de
version=20161207.7.0
revision=2
wrksrc="aspell6-de-${version//./-}"
build_style=configure
hostmakedepends="aspell-devel which"
short_desc="German dictionary for aspell"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-or-later"
homepage="http://aspell.net/"
distfiles="${GNU_SITE}/aspell/dict/de/aspell6-de-${version//./-}.tar.bz2"
checksum=c2125d1fafb1d4effbe6c88d4e9127db59da9ed92639c7cbaeae1b7337655571
words-de_package() {
short_desc="German dictionary word list"
pkg_install() {
vmkdir usr/share/dict
precat *.cwl |
iconv -f ISO-8859-1 -t UTF-8 |
cut -d/ -f1 |
sort -u >${PKGDESTDIR}/usr/share/dict/ngerman
}
}