From a5960ce1cd2c436f3583afa4d4b10fa26244346a Mon Sep 17 00:00:00 2001 From: Mikhail Osipov Date: Thu, 26 Dec 2019 16:56:55 +0300 Subject: rename xfce4-terminal to terminal --- terminal/PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++ terminal/hotkey.patch | 12 ++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 terminal/PKGBUILD create mode 100644 terminal/hotkey.patch (limited to 'terminal') diff --git a/terminal/PKGBUILD b/terminal/PKGBUILD new file mode 100644 index 0000000..59bc2ef --- /dev/null +++ b/terminal/PKGBUILD @@ -0,0 +1,45 @@ +# Maintainer: Evangelos Foutras +# Contributor: tobias +# Contributor: Aurelien Foret + +_pkgname_=xfce4-terminal +pkgname=terminal +pkgver=0.8.8 +pkgrel=2 +pkgdesc="A modern terminal emulator primarily for the Xfce desktop environment" +arch=('x86_64') +url="https://www.xfce.org/" +license=('GPL2') +groups=('xfce4') +depends=('libxfce4ui' 'vte3' 'hicolor-icon-theme') +makedepends=('intltool') +conflicts=('xfce4-terminal') +replaces=('xfce4-terminal') +provides=('xfce4-terminal') +source=(https://archive.xfce.org/src/apps/$_pkgname_/0.8/$_pkgname_-$pkgver.tar.bz2 hotkey.patch) +sha256sums=('8fba6a60d3a0fee07417ad7c36bf78cc45be1b27f0759e125051aa73f08487fd' 'SKIP') + +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/terminal/hotkey.patch b/terminal/hotkey.patch new file mode 100644 index 0000000..3f0853b --- /dev/null +++ b/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"), "plus", N_ ("Zoom in with larger font"), G_CALLBACK (terminal_window_action_zoom_in), }, + { "zoom-out", "zoom-out", N_ ("Zoom _Out"), "minus", N_ ("Zoom out with smaller font"), G_CALLBACK (terminal_window_action_zoom_out), }, + { "zoom-reset", "zoom-original", N_ ("_Normal Size"), "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..."), "s", NULL, G_CALLBACK (terminal_window_action_set_title), }, + { "search", "edit-find", N_ ("_Find..."), "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), }, -- cgit v1.2.3-70-g09d2