From 413075942caac06c549dd690d121e5ea3d244641 Mon Sep 17 00:00:00 2001 From: "coadde [Márcio Alexandre Silva Delgado]" Date: Thu, 6 Feb 2014 17:54:36 -0200 Subject: add iceweasel-spell-ru to the libre repo --- libre/iceweasel-spell-ru/PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 libre/iceweasel-spell-ru/PKGBUILD (limited to 'libre/iceweasel-spell-ru') diff --git a/libre/iceweasel-spell-ru/PKGBUILD b/libre/iceweasel-spell-ru/PKGBUILD new file mode 100644 index 000000000..2a5a84518 --- /dev/null +++ b/libre/iceweasel-spell-ru/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 90907 2013-05-15 13:06:09Z spupykin $ +# Maintainer: Sergej Pupykin +# Contributor: Maciej Sitarz + +pkgname=iceweasel-spell-ru +pkgver=0.4.4 +pkgrel=13 +pkgdesc="Russian spellchecker dictionary for Iceweasel" +arch=(any) +url="https://addons.mozilla.org/firefox/dictionaries/" +license=("GPL") +depends=("iceweasel-libre") +provides=(firefox-spell-ru=$pkgver) +conflicts=firefox-spell-ru +replaces=firefox-spell-ru +noextract=(russian_spellchecking_dictionary_with_io_support-$pkgver-fx+tb+sm.xpi) +source=(https://addons.mozilla.org/firefox/downloads/file/98798/russian_spellchecking_dictionary-$pkgver-fx+tb+sm.xpi) +md5sums=('269a8bdd38a5641b5f6cfb12715f1029') + +package() { +# _ffver=`pacman -Q iceweasel-libre | cut -f2 -d\ | cut -f1 -d-` +# depends=("iceweasel>=${_ffver}" "iceweasel<=${_ffver/0/99}") + + cd $srcdir + rm $srcdir/*.xpi + local _dir=$pkgdir/usr/lib/iceweasel/browser/extensions/ru@dictionaries.addons.mozilla.org + mkdir -p "${_dir}" + cd "${_dir}" + sed -i 's#.*#20.*#' $srcdir/install.rdf + cp -r $srcdir/* "${_dir}" + find ${_dir} -type f -exec chmod 0644 {} \; + touch ${_dir}/chrome.manifest +} -- cgit v1.2.3-54-g00ecf