aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-02-25 21:09:04 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2015-06-01 16:03:39 +0200
commit71f4b310d03a6b7c1a562a870cf45d5c0a3d0f4a (patch)
treec8d1a494b7eb77554533ef506d87b0c1548981de
downloadpkgbuilds-71f4b310d03a6b7c1a562a870cf45d5c0a3d0f4a.tar.xz
termite-git and git version of vte3 with stingers patch
-rw-r--r--.SRCINFO31
-rw-r--r--PKGBUILD48
-rw-r--r--reverse_url_search.patch17
3 files changed, 96 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 0000000..d263bce
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,31 @@
+# Generated by makepkg 4.2.1
+# Mon Jun 1 14:56:36 UTC 2015
+pkgbase = termite-git
+ pkgdesc = A simple VTE-based terminal
+ pkgver = git
+ pkgrel = 1
+ url = https://github.com/thestinger/termite/
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = git
+ depends = atk
+ depends = cairo
+ depends = glibc
+ depends = glib2
+ depends = gcc-libs
+ depends = gtk3
+ depends = pango
+ depends = vte3-select-text-git
+ provides = termite
+ conflicts = termite
+ backup = etc/xdg/termite/config
+ source = git+https://github.com/thestinger/termite
+ source = git+https://github.com/thestinger/util
+ source = reverse_url_search.patch
+ md5sums = SKIP
+ md5sums = SKIP
+ md5sums = 8d4e4216cee58a1b0df223dde2216bf1
+
+pkgname = termite-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 0000000..0d1270b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,48 @@
+pkgname=termite-git
+pkgver=git
+pkgrel=1
+
+pkgdesc="A simple VTE-based terminal"
+url="https://github.com/thestinger/termite/"
+arch=('i686' 'x86_64')
+license=('GPL')
+
+depends=('atk' 'cairo' 'glibc' 'glib2' 'gcc-libs' 'gtk3' 'pango' 'vte3-select-text-git')
+makedepends=('git')
+
+provides=('termite')
+conflicts=('termite')
+
+backup=('etc/xdg/termite/config')
+
+source=('git+https://github.com/thestinger/termite'
+ 'git+https://github.com/thestinger/util'
+ 'reverse_url_search.patch')
+
+md5sums=('SKIP'
+ 'SKIP'
+ '8d4e4216cee58a1b0df223dde2216bf1')
+
+pkgver() {
+ cd termite
+ git describe | sed 's/^v//; s/-/.r/; s/-/./'
+}
+
+prepare() {
+ cd termite
+ git submodule init
+ git config submodule.util.url "$srcdir"/util
+ git submodule update
+ patch -Np1 -i "$srcdir"/reverse_url_search.patch
+}
+
+build() {
+ cd termite
+ make
+}
+
+package() {
+ cd termite
+ make PREFIX=/usr DESTDIR="$pkgdir" install
+ install -Dm644 config "$pkgdir"/etc/xdg/termite/config
+}
diff --git a/reverse_url_search.patch b/reverse_url_search.patch
new file mode 100644
index 0000000..a09955e
--- /dev/null
+++ b/reverse_url_search.patch
@@ -0,0 +1,17 @@
+diff --git a/termite.cc b/termite.cc
+index 5f1e9d1..e6c0539 100644
+--- a/termite.cc
++++ b/termite.cc
+@@ -684,10 +684,10 @@ gboolean key_press_cb(VteTerminal *vte, GdkEventKey *event, keybind_info *info)
+ vte_terminal_search_find_previous(vte);
+ vte_terminal_copy_primary(vte);
+ break;
+- case GDK_KEY_u:
++ case GDK_KEY_U:
+ search(vte, url_regex, false);
+ break;
+- case GDK_KEY_U:
++ case GDK_KEY_u:
+ search(vte, url_regex, true);
+ break;
+ case GDK_KEY_o: