mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-30 17:33:03 +02:00
aspell-de: include word list subpkg.
This commit is contained in:
parent
e898a6b539
commit
6476d1b4d2
1 changed files with 13 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'aspell-de'
|
# Template file for 'aspell-de'
|
||||||
pkgname=aspell-de
|
pkgname=aspell-de
|
||||||
version=20030222
|
version=20030222
|
||||||
revision=1
|
revision=2
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="aspell6-de-${version}-1"
|
wrksrc="aspell6-de-${version}-1"
|
||||||
build_style=configure
|
build_style=configure
|
||||||
|
@ -13,3 +13,15 @@ license="GPL-2"
|
||||||
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
||||||
distfiles="${GNU_SITE}/aspell/dict/de/aspell6-de-${version}-1.tar.bz2"
|
distfiles="${GNU_SITE}/aspell/dict/de/aspell6-de-${version}-1.tar.bz2"
|
||||||
checksum=ba6c94e11bc2e0e6e43ce0f7822c5bba5ca5ac77129ef90c190b33632416e906
|
checksum=ba6c94e11bc2e0e6e43ce0f7822c5bba5ca5ac77129ef90c190b33632416e906
|
||||||
|
|
||||||
|
words-de_package() {
|
||||||
|
short_desc="German dictionary word list"
|
||||||
|
noarch=yes
|
||||||
|
pkg_install() {
|
||||||
|
vmkdir usr/share/dict
|
||||||
|
precat *.cwl |
|
||||||
|
iconv --from-code=ISO-8859-1 --to-code=UTF-8 |
|
||||||
|
cut -d/ -f1 |
|
||||||
|
sort -u >${PKGDESTDIR}/usr/share/dict/ngerman
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue