diff options
author | Johannes Löthberg <demizide@gmail.com> | 2013-06-12 23:14:43 +0200 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2015-06-08 14:33:40 +0200 |
commit | 22cd2ee2b0e1be4086e0f566b01264b64468c1f2 (patch) | |
tree | 81d53cf313a0b5cfa103483863ef819ed024c69f | |
download | pkgbuilds-22cd2ee2b0e1be4086e0f566b01264b64468c1f2.tar.xz |
Added urxvt-tabbedex
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | 0001-make-urxvt-tabbedex-work-with-perl-5.18.patch | 25 | ||||
-rw-r--r-- | PKGBUILD | 28 | ||||
-rw-r--r-- | urxvt-tabbedex.install | 12 |
4 files changed, 84 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..a6e1660 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +# Generated by makepkg 4.2.1 +# Mon Jun 1 13:54:31 UTC 2015 +pkgbase = urxvt-tabbedex + pkgdesc = tabbed extension for rxvt-unicode (urxvt) with several extra features, pathed for perl 5.18 + pkgver = 0.4 + pkgrel = 2 + url = http://github.com/stepb/urxvt-tabbedex + install = urxvt-tabbedex.install + arch = any + license = GPL + depends = rxvt-unicode + replaces = rxvt-unicode-256color-named-tabs + source = https://github.com/stepb/urxvt-tabbedex/tarball/tabbedex-0.4 + source = 0001-make-urxvt-tabbedex-work-with-perl-5.18.patch + md5sums = d8c165ae73ae4fa8008e9658c415846d + md5sums = 92d581a40779da3127c88fdc7d10257f + +pkgname = urxvt-tabbedex + diff --git a/0001-make-urxvt-tabbedex-work-with-perl-5.18.patch b/0001-make-urxvt-tabbedex-work-with-perl-5.18.patch new file mode 100644 index 0000000..c7f4720 --- /dev/null +++ b/0001-make-urxvt-tabbedex-work-with-perl-5.18.patch @@ -0,0 +1,25 @@ +From b865e22e2553b9172f6029780520fd2aa7aca0ff Mon Sep 17 00:00:00 2001 +From: yardenac <yardenack@gmail.com> +Date: Sun, 26 May 2013 23:11:06 -0700 +Subject: [PATCH] make urxvt-tabbedex work with perl 5.18 + +--- + tabbedex | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tabbedex b/tabbedex +index ada0e2f..3863715 100755 +--- a/tabbedex ++++ b/tabbedex +@@ -665,7 +665,7 @@ package urxvt::ext::tabbedex::tab; + # simply proxies all interesting calls back to the tabbedex class. + + { +- for my $hook qw(start destroy user_command key_press property_notify add_lines) { ++ for my $hook (qw(start destroy user_command key_press property_notify add_lines)) { + eval qq{ + sub on_$hook { + my \$parent = \$_[0]{term}{parent} +-- +1.8.3.1 + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..89d89f8 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Johannes Löthberg <demizide@gmail.com> +# Contributor: StephenB <mail4stb at gmail dot com> + +pkgname="urxvt-tabbedex" +pkgver=0.4 +pkgrel=2 +pkgdesc="tabbed extension for rxvt-unicode (urxvt) with several extra features, pathed for perl 5.18" +arch=("any") +url='http://github.com/stepb/urxvt-tabbedex' +license=("GPL") +depends=('rxvt-unicode') +replaces=('rxvt-unicode-256color-named-tabs') +install=urxvt-tabbedex.install +source=("https://github.com/stepb/urxvt-tabbedex/tarball/tabbedex-$pkgver" + '0001-make-urxvt-tabbedex-work-with-perl-5.18.patch') +md5sums=('d8c165ae73ae4fa8008e9658c415846d' + '92d581a40779da3127c88fdc7d10257f') + +prepare() { + cd ${srcdir}/stepb-urxvt-tabbedex-f9490d8 + + patch tabbedex ../0001-make-urxvt-tabbedex-work-with-perl-5.18.patch +} + +package() { + install -Dm644 ${srcdir}/stepb-urxvt-tabbedex-f9490d8/tabbedex \ + ${pkgdir}/usr/lib/urxvt/perl/tabbedex +} diff --git a/urxvt-tabbedex.install b/urxvt-tabbedex.install new file mode 100644 index 0000000..c726bc4 --- /dev/null +++ b/urxvt-tabbedex.install @@ -0,0 +1,12 @@ +post_install () { + echo "==> To enable tabbedex place the following in ~/.Xdefaults" + echo "==> URxvt.perl-ext-common: default,tabbedex" + echo "==> For documentation see urxvtperl man file (section on the tabbed" + echo "==> extension), also see the comments at the top of the tabbedex source" + echo "==> code: /usr/lib/urxvt/perl/tabbedex" +} + +post_upgrade () { + post_install $1 +} + |