summaryrefslogtreecommitdiff
path: root/pcr/icecat-vimperator/PKGBUILD
blob: 57e91af356babc401c24a575271fb3a1a9289d29 (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@hyperbola.info>

_pkgname=vimperator
pkgname=icecat-vimperator
license=("MIT")
pkgver=3.15.0
pkgrel=1
pkgdesc="Make icecat look and behave like Vim"
arch=('any')
url="http://vimperator.org/vimperator"
depends=('icecat')
_extensionId="vimperator@mozdev.org"
_fileName=vimperator-$pkgver.xpi
source=(https://github.com/vimperator/vimperator-labs/releases/download/$_pkgname-$pkgver/$_pkgname-$pkgver.xpi)
sha512sums=('0281ebdc798228af469646db4dccda3dcfd89aa5c5d8055230cb8ccd5b6a8d9b40989490157a20ed1bd8865a0ed113e529eadab2302f4bf9ef279361ba209a6d')
conflicts=('vimperator-hg' 'vimperator-git')

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