PKGBUILDs/community/firefox-spell-pt-br/PKGBUILD
2009-10-09 21:15:33 -05:00

24 lines
627 B
Bash

# Contributor: Hugo Doria <hugodoria@gmail.com>
pkgname=firefox-spell-pt-br
pkgver=3.0.8
pkgrel=1
pkgdesc="Portuguese (Brazil) dictionary for Firefox"
arch=('i686' 'x86_64')
license=('GPL')
depends=("firefox>=${pkgver}")
makedepends=('unzip')
url="http://www.broffice.org.br/verortografico"
source=(http://www.broffice.org/files/pt_BR-2009-03-30AOC.zip)
md5sums=('d1e5d505443607dc3f35b71625572efd')
build() {
cd ${srcdir}
# remove all unwanted files
rm *.TXT
install -D -m644 pt_BR.aff ${pkgdir}/usr/share/myspell/pt-BR.aff || return 1
install -D -m644 pt_BR.dic ${pkgdir}/usr/share/myspell/pt-BR.dic || return 1
}