1 # Contributor: Nazarov Pavel <genocid@rambler.ru>
3 pkgname=firefox-spell-ru-en
7 pkgdesc="Russian/English spellchecker dictionary for Firefox"
9 url="http://ftp.mozilla-russia.org/dictionaries/"
12 noextract=(http://ftp.mozilla-russia.org/dictionaries/ru-en_spell_dictionary.xpi)
13 source=(http://ftp.mozilla-russia.org/dictionaries/ru-en_spell_dictionary.xpi)
14 md5sums=('a8f1658e194084038f86b98fad3b0e54')
20 local _dir=$pkgdir/usr/lib/firefox-${_ffver}/extensions/ru-en@dictionaries.addons.mozilla.org
23 sed -i 's#<em:maxVersion>.*</em:maxVersion>#<em:maxVersion>5.0.*</em:maxVersion>#' $srcdir/install.rdf && \
24 cp -r $srcdir/* "${_dir}" && \
25 find ${_dir} -type f -exec chmod 0644 {} \; && \
26 touch ${_dir}/chrome.manifest