| ceprej |
|
|
Темы:
0
Сообщения:
42
Участник с: 05 апреля 2012
|
Извините если пишу не в той ветке. Не хочет устанавливаться набор правил переноса hyphen-ru для libreoffice из AUR. Вот что пишет: Загрузка hyph_ru_RU.zip... Warning: Transient problem: timeout Will retry in 3 seconds. 3 retries left. Warning: Transient problem: timeout Will retry in 3 seconds. 2 retries left. Warning: Transient problem: timeout Will retry in 3 seconds. 1 retries left. curl: (6) Could not resolve host: ftp.services.openoffice.org; Имя или служба не известны ==> ОШИБКА: Загрузка hyph_ru_RU.zip завершилась неудачей Преждевременный выход... ==> ERROR: Makepkg was unable to build hyphen-ru. ==> Restart building hyphen-ru ? [y/N] Что можно сделать? Или как-то по другому установить правила переноса? |
| sirocco |
|
|
Темы:
29
Сообщения:
2501
Участник с: 25 июля 2007
|
Видимо, ftp openoffice лежит. Используйте пока такой PKGBUILDpkgname=('hyphen-ru')
pkgver=0.1
pkgrel=2
pkgdesc="Russian hyphenation rules"
arch=(any)
url="http://wiki.services.openoffice.org/wiki/Dictionaries"
license=('LGPL')
optdepends=('hyphen: offers hyphenation library functions')
source=(http://pkgs.fedoraproject.org/repo/pkgs/hyphen-ru/hyph_ru_RU.zip/f8a8b8a368bc7394b5a4060082c44bb4/hyph_ru_RU.zip)
#http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/hyph_ru_RU.zip)
md5sums=('f8a8b8a368bc7394b5a4060082c44bb4')
build() {
/bin/true
}
package() {
cd "$srcdir"
install -dm755 ${pkgdir}/usr/share/hyphen
#cp -p hyph_ru_RU.dic $pkgdir/usr/share/hyphen
install -m 644 hyph_ru_RU.dic $pkgdir/usr/share/hyphen
# the symlinks
install -dm755 ${pkgdir}/usr/share/myspell/dicts
pushd $pkgdir/usr/share/myspell/dicts
for file in $pkgdir/usr/share/hyphen/*; do
ln -sv /usr/share/hyphen/$(basename $file) .
done
popd
# docs
install -dm755 ${pkgdir}/usr/share/doc/$pkgname
install -m 644 README_hyph_ru_RU.txt $pkgdir/usr/share/doc/$pkgname
} |
| ceprej |
|
|
Темы:
0
Сообщения:
42
Участник с: 05 апреля 2012
|
Спасибо. Теперь всё работает. |
| ceprej |
|
|
Темы:
0
Сообщения:
42
Участник с: 05 апреля 2012
|
sirocco Кстати, а почему “пока”? |
| sirocco |
|
|
Темы:
29
Сообщения:
2501
Участник с: 25 июля 2007
|
Сергей URL был просто найден в гугле. Выбрал время, посмотрел на PKGBUILD hyphen-de, увидел официальный список зеркал, исправил PKGBUILD в AUR. Пересобирать не нужно, файл hyph_ru_RU.zip остался тот же. |
| ceprej |
|
|
Темы:
0
Сообщения:
42
Участник с: 05 апреля 2012
|
Понятно. Ещё раз большое спасибо. |