mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
29 lines
1 KiB
Bash
29 lines
1 KiB
Bash
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
|
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
|
# Contributor: Maciej Sitarz <macieks@freesco.pl>
|
|
|
|
pkgname=firefox-spell-ru
|
|
pkgver=0.4.2
|
|
_ffver=3.5
|
|
pkgrel=3
|
|
pkgdesc="Russian spellchecker dictionary for Firefox"
|
|
arch=(i686 x86_64)
|
|
url="https://addons.mozilla.org/firefox/dictionaries/"
|
|
license=("GPL")
|
|
depends=("firefox")
|
|
noextract=(russian_spellchecking_dictionary_with_io_support-$pkgver-fx+tb+sm.xpi)
|
|
source=(https://addons.mozilla.org/en-US/firefox/downloads/file/41290/russian_spellchecking_dictionary-$pkgver-fx+tb+sm.xpi)
|
|
md5sums=('da1a2f20afd88c2ab3d1ef9399345e4e')
|
|
|
|
build() {
|
|
cd $srcdir && \
|
|
rm $srcdir/*.xpi
|
|
|
|
local _dir=$pkgdir/usr/lib/firefox-${_ffver}/extensions/ru@dictionaries.addons.mozilla.org
|
|
mkdir -p "${_dir}"
|
|
cd "${_dir}" && \
|
|
sed -i 's#<em:maxVersion>.*</em:maxVersion>#<em:maxVersion>3.*</em:maxVersion>#' $srcdir/install.rdf && \
|
|
cp -r $srcdir/* "${_dir}" && \
|
|
find ${_dir} -type f -exec chmod 0644 {} \; && \
|
|
touch ${_dir}/chrome.manifest
|
|
}
|