1 # Contributor: Gustavo Dutra <mechamo@gustavodutra.com>
6 pkgdesc="Make firefox look and behave like Vim"
8 url="http://vimperator.org/vimperator"
9 depends=('firefox>=4.0')
10 _fileName=vimperator-$pkgver.xpi
11 source=(http://vimperator-labs.googlecode.com/files/$_fileName)
12 md5sums=('5d86d089493d53173fbfc4eed39db8e8')
14 local _extensionId="vimperator@mozdev.org" _firefoxVersion=$(echo $(firefox -v) | sed 's/^.*\([0-9]\+\.[0-9]\+\).*$/\1/g' -)
15 cd $srcdir || return 1
16 local dstdir=$pkgdir/usr/lib/firefox-$_firefoxVersion/extensions/$_extensionId
17 install -d $dstdir || return 1
18 cp -R * $dstdir || return 1