summaryrefslogtreecommitdiff
path: root/unmaintained/icecat-spell-ru/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-10-24 06:31:07 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-10-24 06:31:49 -0300
commite8907fab6658afc6681f1a40e28f058fa87f4575 (patch)
tree5d31c6b2df1393df4320a2dd5bb8d80ea22eeb60 /unmaintained/icecat-spell-ru/PKGBUILD
parent713bf090423e07809d39d2facdf61aefad1cebec (diff)
downloadabslibre-e8907fab6658afc6681f1a40e28f058fa87f4575.tar.gz
abslibre-e8907fab6658afc6681f1a40e28f058fa87f4575.tar.bz2
abslibre-e8907fab6658afc6681f1a40e28f058fa87f4575.zip
icecat: move package and its dependencies to [unmaintained] -> https://lists.parabola.nu/pipermail/dev/2016-October/004529.html
Diffstat (limited to 'unmaintained/icecat-spell-ru/PKGBUILD')
-rw-r--r--unmaintained/icecat-spell-ru/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/unmaintained/icecat-spell-ru/PKGBUILD b/unmaintained/icecat-spell-ru/PKGBUILD
new file mode 100644
index 000000000..a58c1d3b9
--- /dev/null
+++ b/unmaintained/icecat-spell-ru/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 129457 2015-03-18 10:50:28Z spupykin $
+# Maintainer (Arch): Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor (Arch): Maciej Sitarz <macieks@freesco.pl>
+
+pkgname=icecat-spell-ru
+pkgver=0.4.5
+pkgrel=1
+pkgdesc="Russian spellchecker dictionary for IceCat"
+arch=(any)
+url="https://addons.mozilla.org/firefox/dictionaries/"
+license=("GPL")
+depends=("icecat")
+#noextract=(addon-$pkgver-an+fx+tb+fn+sm.xpi)
+source=(https://addons.cdn.mozilla.net/user-media/addons/3703/addon-$pkgver-an+fx+tb+fn+sm.xpi)
+md5sums=('05dbd25d73e3e4187ec51517658fcf69')
+
+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
+}