libreoffice-dictionaries: don't use alias
it causes xbps-src-make to panic when encountered
This commit is contained in:
parent
4770c1a6d7
commit
d10f7e7846
|
@ -132,19 +132,17 @@ _build_bdic() {
|
|||
}
|
||||
|
||||
_vbdic() {
|
||||
vmkdir usr/share/hunspell-bdic
|
||||
vinstall "bdic/$1.bdic" 0644 usr/share/hunspell-bdic
|
||||
if [ "$build_option_bdic" ]; then
|
||||
vmkdir usr/share/hunspell-bdic
|
||||
vinstall "bdic/$1.bdic" 0644 usr/share/hunspell-bdic
|
||||
fi
|
||||
}
|
||||
|
||||
_vbdiclink() {
|
||||
ln -sf "$1.bdic" "${PKGDESTDIR}/usr/share/hunspell-bdic/$2.bdic"
|
||||
if [ "$build_option_bdic" ]; then
|
||||
ln -sf "$1.bdic" "${PKGDESTDIR}/usr/share/hunspell-bdic/$2.bdic"
|
||||
fi
|
||||
}
|
||||
if [ "$build_option_bdic" ]; then
|
||||
alias vbdic=_vbdic
|
||||
alias vbdiclink=_vbdiclink
|
||||
else
|
||||
alias vbdic=":"
|
||||
alias vbdiclink=":"
|
||||
fi
|
||||
|
||||
_vhunspell() {
|
||||
local subdir lang lnk
|
||||
|
@ -160,11 +158,11 @@ _vhunspell() {
|
|||
usr/share/hunspell "$lang.aff"
|
||||
vinstall "dictionaries/$subdir/$lang.dic" 0644 \
|
||||
usr/share/hunspell "$lang.dic"
|
||||
vbdic "$lang"
|
||||
_vbdic "$lang"
|
||||
for lnk; do
|
||||
ln -sf "$lang.aff" "${PKGDESTDIR}/usr/share/hunspell/$lnk.aff"
|
||||
ln -sf "$lang.dic" "${PKGDESTDIR}/usr/share/hunspell/$lnk.dic"
|
||||
vbdiclink "$lang" "$lnk"
|
||||
_vbdiclink "$lang" "$lnk"
|
||||
done
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue