summaryrefslogtreecommitdiff
path: root/libre/icecat-vimperator/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-12-04 01:14:18 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-12-04 01:20:18 -0300
commitd671d5690819fe1d94027d14abf658dd61ea9bc1 (patch)
treee525a8cdb1b50a3b0d6aca6f7350d6f51b441ef2 /libre/icecat-vimperator/PKGBUILD
parentd30022f4d8b44d727ce915c11cb421858ffd6d61 (diff)
downloadabslibre-d671d5690819fe1d94027d14abf658dd61ea9bc1.tar.gz
abslibre-d671d5690819fe1d94027d14abf658dd61ea9bc1.tar.bz2
abslibre-d671d5690819fe1d94027d14abf658dd61ea9bc1.zip
icecat-*: move packages to [libre] -> https://savannah.gnu.org/forum/forum.php?forum_id=8747
Diffstat (limited to 'libre/icecat-vimperator/PKGBUILD')
-rw-r--r--libre/icecat-vimperator/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/libre/icecat-vimperator/PKGBUILD b/libre/icecat-vimperator/PKGBUILD
new file mode 100644
index 000000000..d7a23f1f0
--- /dev/null
+++ b/libre/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.9
+pkgrel=2
+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)
+md5sums=('11449e9ed1a8e3fccf38a7570a700dd5')
+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
+}