summaryrefslogtreecommitdiff
path: root/pcr/icecat-vimperator/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-12-07 12:29:55 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-12-07 12:29:55 -0300
commit6a75210203f2861568f8679398431afbb68dc085 (patch)
treed552f7bf32ec0ede8a78a4e95779cbdf53bfdf18 /pcr/icecat-vimperator/PKGBUILD
parentee1985a8e79bcce4f70ed5f68c16336ed9a054ed (diff)
downloadabslibre-6a75210203f2861568f8679398431afbb68dc085.tar.gz
abslibre-6a75210203f2861568f8679398431afbb68dc085.tar.bz2
abslibre-6a75210203f2861568f8679398431afbb68dc085.zip
icecat-vimperator: move package to [pcr]
Diffstat (limited to 'pcr/icecat-vimperator/PKGBUILD')
-rw-r--r--pcr/icecat-vimperator/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/pcr/icecat-vimperator/PKGBUILD b/pcr/icecat-vimperator/PKGBUILD
new file mode 100644
index 000000000..374374e93
--- /dev/null
+++ b/pcr/icecat-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=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
+}