Re: Spellcheck in Firefox3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I created a firefox-spell-pt-br package to firefox3 (from [unstable]) and it is working. The firefox3 of [unstable] is still in /opt/mozilla. This is the only difference.

Below is the PKGBUILD:

# Contributor: Hugo Doria <hugodoria@xxxxxxxxx>

pkgname=firefox-spell-pt-br
pkgver=3.0b5
pkgrel=1
pkgdesc="Portuguese (Brazil) dictionary for Firefox"
arch=('i686' 'x86_64')
license=('GPL')
depends=("firefox3>=$pkgver")
makedepends=('unzip')
url="" href="http://www.broffice.org.br/verortografico">http://www.broffice.org.br/verortografico"
source=(http://www.deso-se.com.br/downloads/pt_BR-2008-02-21C.zip)
md5sums=('fbcab4da77624ec53b9b7846e452af12')

build() {
        cd ${startdir}/src

        # remove all unwanted files
        rm *.TXT

        install -D -m644 pt_BR.aff ${startdir}/pkg/opt/mozilla/lib/firefox-3.0b5/dictionaries/pt-BR.aff || return 1
        install -D -m644 pt_BR.dic ${startdir}/pkg/opt/mozilla/lib/firefox-3.0b5/dictionaries/pt-BR.dic || return 1
}

Now you need only to adapt to your language.

--
Hugo Doria
http://hdoria.archlinux-br.org

[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux