diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-02-06 19:50:34 -0200 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-02-06 19:50:34 -0200 |
commit | 9642f291001ff9d248a04a8edbac1d8bd363757c (patch) | |
tree | ab552ec2edfff9e5fe74155dc7260f9314647435 /libre/icecat-spell-ru | |
parent | b36cf3a75f1454f1100cbef0bc88c655f362e3b2 (diff) | |
download | abslibre-9642f291001ff9d248a04a8edbac1d8bd363757c.tar.gz abslibre-9642f291001ff9d248a04a8edbac1d8bd363757c.tar.bz2 abslibre-9642f291001ff9d248a04a8edbac1d8bd363757c.zip |
icecat-{adblock-plus,firebug,raismth,spell-ru}: add new packages to [libre]
Diffstat (limited to 'libre/icecat-spell-ru')
-rw-r--r-- | libre/icecat-spell-ru/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/libre/icecat-spell-ru/PKGBUILD b/libre/icecat-spell-ru/PKGBUILD new file mode 100644 index 000000000..5b088817a --- /dev/null +++ b/libre/icecat-spell-ru/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 90907 2013-05-15 13:06:09Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Maciej Sitarz <macieks@freesco.pl> + +pkgname=icecat-spell-ru +pkgver=0.4.4 +pkgrel=13.1 +pkgdesc="Russian spellchecker dictionary for IceCat" +arch=(any) +url="https://addons.mozilla.org/firefox/dictionaries/" +license=("GPL") +depends=("icecat") +provides=(firefox-spell-ru=$pkgver) +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 icecat | cut -f2 -d\ | cut -f1 -d-` +# depends=("icecat>=${_ffver}" "icecat<=${_ffver/0/99}") + + cd $srcdir + rm $srcdir/*.xpi + local _dir=$pkgdir/usr/lib/icecat/browser/extensions/ru@dictionaries.addons.mozilla.org + mkdir -p "${_dir}" + cd "${_dir}" + sed -i 's#<em:maxVersion>.*</em:maxVersion>#<em:maxVersion>20.*</em:maxVersion>#' $srcdir/install.rdf + cp -r $srcdir/* "${_dir}" + find ${_dir} -type f -exec chmod 0644 {} \; + touch ${_dir}/chrome.manifest +} |