summaryrefslogtreecommitdiff
path: root/pcr/iceweasel-vimperator
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-06-02 12:16:36 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-06-02 16:35:28 -0300
commit4e1bff63ecf0bd966914beaf8eeba2a55e7cd760 (patch)
treef414381fcae4faaf4627c062337c65f878c9ddc5 /pcr/iceweasel-vimperator
parentbda2e2745101fb98c6a42c6f4264d69c0fd52406 (diff)
ice{cat,weasel}-vimperator: add new package to [pcr]
Diffstat (limited to 'pcr/iceweasel-vimperator')
-rw-r--r--pcr/iceweasel-vimperator/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/pcr/iceweasel-vimperator/PKGBUILD b/pcr/iceweasel-vimperator/PKGBUILD
new file mode 100644
index 000000000..bc9c9f316
--- /dev/null
+++ b/pcr/iceweasel-vimperator/PKGBUILD
@@ -0,0 +1,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
+}