diff options
author | Erich Eckner <git@eckner.net> | 2022-01-14 20:19:38 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2022-01-14 20:19:38 +0100 |
commit | 035534126e4e527ca9a1e97b8300e937f1452c01 (patch) | |
tree | ec0673cfe8dd69cdb337b96777309e84474f87ca /manualPorts/hyphen-de | |
parent | a5e697feb554a2dfedb0b16e57db8fb9f9a6e445 (diff) | |
download | crux-ports-035534126e4e527ca9a1e97b8300e937f1452c01.tar.xz |
hyphen-de new
Diffstat (limited to 'manualPorts/hyphen-de')
-rw-r--r-- | manualPorts/hyphen-de/.footprint | 17 | ||||
-rw-r--r-- | manualPorts/hyphen-de/.md5sum | 2 | ||||
-rw-r--r-- | manualPorts/hyphen-de/.signature | 6 | ||||
-rw-r--r-- | manualPorts/hyphen-de/Pkgfile | 36 |
4 files changed, 61 insertions, 0 deletions
diff --git a/manualPorts/hyphen-de/.footprint b/manualPorts/hyphen-de/.footprint new file mode 100644 index 0000000..499c023 --- /dev/null +++ b/manualPorts/hyphen-de/.footprint @@ -0,0 +1,17 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/hyphen/ +lrwxrwxrwx root/root usr/share/hyphen/hyph_de_AT.dic -> hyph_de_DE.dic +lrwxrwxrwx root/root usr/share/hyphen/hyph_de_BE.dic -> hyph_de_DE.dic +-r--r--r-- root/root usr/share/hyphen/hyph_de_CH.dic +-r--r--r-- root/root usr/share/hyphen/hyph_de_DE.dic +lrwxrwxrwx root/root usr/share/hyphen/hyph_de_LI.dic -> hyph_de_CH.dic +lrwxrwxrwx root/root usr/share/hyphen/hyph_de_LU.dic -> hyph_de_DE.dic +drwxr-xr-x root/root usr/share/myspell/ +drwxr-xr-x root/root usr/share/myspell/dicts/ +lrwxrwxrwx root/root usr/share/myspell/dicts/hyph_de_AT.dic -> /usr/share/hyphen/hyph_de_AT.dic +lrwxrwxrwx root/root usr/share/myspell/dicts/hyph_de_BE.dic -> /usr/share/hyphen/hyph_de_BE.dic +lrwxrwxrwx root/root usr/share/myspell/dicts/hyph_de_CH.dic -> /usr/share/hyphen/hyph_de_CH.dic +lrwxrwxrwx root/root usr/share/myspell/dicts/hyph_de_DE.dic -> /usr/share/hyphen/hyph_de_DE.dic +lrwxrwxrwx root/root usr/share/myspell/dicts/hyph_de_LI.dic -> /usr/share/hyphen/hyph_de_LI.dic +lrwxrwxrwx root/root usr/share/myspell/dicts/hyph_de_LU.dic -> /usr/share/hyphen/hyph_de_LU.dic diff --git a/manualPorts/hyphen-de/.md5sum b/manualPorts/hyphen-de/.md5sum new file mode 100644 index 0000000..71be7eb --- /dev/null +++ b/manualPorts/hyphen-de/.md5sum @@ -0,0 +1,2 @@ +7b8567cc0ee1623dded40f2cba366e91 hyph_de_CH.zip +20e5b706ee3201aa2741dabca824cd8b hyph_de_DE.zip diff --git a/manualPorts/hyphen-de/.signature b/manualPorts/hyphen-de/.signature new file mode 100644 index 0000000..3084154 --- /dev/null +++ b/manualPorts/hyphen-de/.signature @@ -0,0 +1,6 @@ +untrusted comment: verify with /etc/ports/deepthought.pub +RWQxCptPusLGGkmgYOaw8dxmv0FnrR8uWfx4LQGYvyCCuzvTd1Hi/FgD854WrEeZaP9oGUJkp53px8Uhln36K7ypSR/p9SyKBA8= +SHA256 (Pkgfile) = c065eb58ac1dc2aa689ac15000cc58d22e743afaa9c0436d7185ee97fa074863 +SHA256 (.footprint) = b43dc6ac4f5ee1372ab1883f6f060045bb77dfe6e36f99fa8183391169b67be5 +SHA256 (hyph_de_DE.zip) = 731a87fb5ed128341b4178b1dee11819fd5e7392e4ac0526c318d9ab28cf61c9 +SHA256 (hyph_de_CH.zip) = 49e31fcb8efbf9d56a69c2faf722ba2e3670afa37feb6eac13581acb2bb9a223 diff --git a/manualPorts/hyphen-de/Pkgfile b/manualPorts/hyphen-de/Pkgfile new file mode 100644 index 0000000..598825b --- /dev/null +++ b/manualPorts/hyphen-de/Pkgfile @@ -0,0 +1,36 @@ +# Description: German hyphenation rules +# URL: https://www.openoffice.org/lingucomponent/ +# Maintainer: Erich Eckner, crux at eckner dot net +# Depends on: + +name=hyphen-de +version=20060120 +release=1 +source=(https://www.mirrorservice.org/sites/download.openoffice.org/contrib/dictionaries/hyph_de_DE.zip + https://www.mirrorservice.org/sites/download.openoffice.org/contrib/dictionaries/hyph_de_CH.zip) + +build() { + cd "$SRC" + install -dm755 "$PKG"/usr/share/hyphen + cp -p hyph_de_??.* "$PKG"/usr/share/hyphen + + pushd "$PKG"/usr/share/hyphen/ + de_DE_aliases="de_AT de_BE de_LU" + for lang in $de_DE_aliases; do + ln -s hyph_de_DE.dic hyph_$lang.dic + done + de_CH_aliases="de_LI" + for lang in $de_CH_aliases; do + ln -s hyph_de_CH.dic hyph_$lang.dic + done + + popd + + # the symlinks + install -dm755 "${PKG}"/usr/share/myspell/dicts + pushd "$PKG"/usr/share/myspell/dicts + for file in "$PKG"/usr/share/hyphen/*; do + ln -sv /usr/share/hyphen/$(basename $file) . + done + popd +} |