diff options
Diffstat (limited to 'xfce4-terminal')
| -rw-r--r-- | xfce4-terminal/PKGBUILD | 44 | ||||
| -rw-r--r-- | xfce4-terminal/hotkey.patch | 12 |
2 files changed, 56 insertions, 0 deletions
diff --git a/xfce4-terminal/PKGBUILD b/xfce4-terminal/PKGBUILD new file mode 100644 index 0000000..df07a18 --- /dev/null +++ b/xfce4-terminal/PKGBUILD @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Evangelos Foutras <evangelos@foutrelis.com> +# Contributor: tobias <tobias funnychar archlinux.org> +# Contributor: Aurelien Foret <orelien@chez.com> + +pkgname=xfce4-terminal +pkgver=0.8.6 +pkgrel=1 +pkgdesc="A modern terminal emulator primarily for the Xfce desktop environment" +arch=('x86_64') +url="http://www.xfce.org/" +license=('GPL2') +groups=('xfce4') +depends=('libxfce4ui' 'vte3' 'hicolor-icon-theme') +makedepends=('intltool') +conflicts=('terminal') +replaces=('terminal') +source=(https://archive.xfce.org/src/apps/$pkgname/0.8/$pkgname-$pkgver.tar.bz2 hotkey.patch) +sha256sums=('bc2a560409a0f0b666d1c557e991748b986ec27572a45ae88b0ee5a480d881d7' '254e0b4042074084065c2fd56d0a0522976e269df7112409ccec75cec4ebffe6') + +prepare() { + cd "$srcdir/$pkgname-$pkgver" + patch -p1 -i "$srcdir/hotkey.patch" +} + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --libexecdir=/usr/lib/xfce4 \ + --localstatedir=/var \ + --disable-static \ + --disable-debug + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: diff --git a/xfce4-terminal/hotkey.patch b/xfce4-terminal/hotkey.patch new file mode 100644 index 0000000..3f0853b --- /dev/null +++ b/xfce4-terminal/hotkey.patch @@ -0,0 +1,12 @@ +diff -ruN xfce4-terminal-0.8.6/terminal/terminal-window.c xfce4-terminal-0.8.6.new/terminal/terminal-window.c +--- xfce4-terminal-0.8.6/terminal/terminal-window.c 2017-07-06 01:57:57.000000000 +0300 ++++ xfce4-terminal-0.8.6.new/terminal/terminal-window.c 2018-01-24 15:05:10.660780618 +0300 +@@ -325,7 +325,7 @@ + { "zoom-in", "zoom-in", N_ ("Zoom _In"), "<control>plus", N_ ("Zoom in with larger font"), G_CALLBACK (terminal_window_action_zoom_in), }, + { "zoom-out", "zoom-out", N_ ("Zoom _Out"), "<control>minus", N_ ("Zoom out with smaller font"), G_CALLBACK (terminal_window_action_zoom_out), }, + { "zoom-reset", "zoom-original", N_ ("_Normal Size"), "<control>0", N_ ("Zoom to default size"), G_CALLBACK (terminal_window_action_zoom_reset), }, +- { "terminal-menu", NULL, N_ ("_Terminal"), NULL, NULL, NULL, }, ++ { "terminal-menu", NULL, N_ ("Terminal"), NULL, NULL, NULL, }, + { "set-title", NULL, N_ ("_Set Title..."), "<control><shift>s", NULL, G_CALLBACK (terminal_window_action_set_title), }, + { "search", "edit-find", N_ ("_Find..."), "<control><shift>f", N_ ("Search terminal contents"), G_CALLBACK (terminal_window_action_search), }, + { "search-next", NULL, N_ ("Find Ne_xt"), NULL, NULL, G_CALLBACK (terminal_window_action_search_next), }, |
