[arch-commits] Commit in firefox-spell-ru/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 13:54:59 UTC 2020


    Date: Tuesday, July 7, 2020 @ 13:54:59
  Author: felixonmars
Revision: 658638

archrelease: copy trunk to community-staging-any

Added:
  firefox-spell-ru/repos/community-staging-any/
  firefox-spell-ru/repos/community-staging-any/PKGBUILD
    (from rev 658637, firefox-spell-ru/trunk/PKGBUILD)

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Copied: firefox-spell-ru/repos/community-staging-any/PKGBUILD (from rev 658637, firefox-spell-ru/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-07-07 13:54:59 UTC (rev 658638)
@@ -0,0 +1,29 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Maciej Sitarz <macieks at freesco.pl>
+
+pkgname=firefox-spell-ru
+pkgver=0.4.5
+pkgrel=3
+pkgdesc="Russian spellchecker dictionary for Firefox"
+arch=(any)
+url="https://addons.mozilla.org/firefox/dictionaries/"
+license=("GPL")
+depends=("firefox")
+#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)
+sha512sums=('52e2a6095e8af3db576d514899d18a94e05168f8caae567f08b414746b2456ad5bd1668be48364577694f6dcd048f6cbb52393fb0d1871f392ec3c77082c220b')
+
+package() {
+#  _ffver=`pacman -Q firefox | cut -f2 -d\ | cut -f1 -d-`
+#  depends=("firefox>=${_ffver}" "firefox<=${_ffver/0/99}")
+
+  cd "$srcdir"
+  rm "$srcdir"/*.xpi
+  local _dir="$pkgdir"/usr/lib/firefox/browser/extensions/ru at 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
+}



More information about the arch-commits mailing list