summaryrefslogtreecommitdiff
path: root/pcr/iceweasel-vimperator/PKGBUILD
blob: bc9c9f316d41728a2899b97aae9782568bcda89e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer (Arch): John Jenkins twodopeshaggy@gmail.com
# Contributor (Arch): Gustavo Dutra <mechamo@gustavodutra.com>
# Maintainer: André Silva <emulatorman@parabola.nu>

_pkgname=vimperator
pkgname=iceweasel-vimperator
license=("MIT")
pkgver=3.9
pkgrel=2
pkgdesc="Make iceweasel look and behave like Vim"
arch=('any')
url="http://vimperator.org/vimperator"
depends=('iceweasel')
_extensionId="vimperator@mozdev.org"
_fileName=vimperator-$pkgver.xpi
source=(https://github.com/vimperator/vimperator-labs/releases/download/$_pkgname-$pkgver/$_pkgname-$pkgver.xpi)
md5sums=('11449e9ed1a8e3fccf38a7570a700dd5')
conflicts=('vimperator-hg' 'vimperator-git')

package() {
  cd $srcdir || return 1
  local dstdir=$pkgdir/usr/lib/iceweasel/browser/extensions/$_extensionId
  install -d $dstdir || return 1
  cp -R * $dstdir || return 1
  rm $dstdir/$_fileName
}