diff options
Diffstat (limited to 'abs/extra/terminal')
-rw-r--r-- | abs/extra/terminal/PKGBUILD | 30 | ||||
-rw-r--r-- | abs/extra/terminal/terminal-dont-die-on-dbus-kill.patch | 10 | ||||
-rw-r--r-- | abs/extra/terminal/terminal.install | 11 |
3 files changed, 51 insertions, 0 deletions
diff --git a/abs/extra/terminal/PKGBUILD b/abs/extra/terminal/PKGBUILD new file mode 100644 index 0000000..857696e --- /dev/null +++ b/abs/extra/terminal/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 28221 2009-02-28 11:48:48Z andyrtr $ +# Maintainer: Tobias Kieslich <tobias funnychar archlinux.org> +# Contributor: Aurelien Foret <orelien@chez.com> + +pkgname=terminal +pkgver=0.2.10 +pkgrel=1 +pkgdesc="A modern terminal emulator primarly for the Xfce desktop environment" +arch=(i686 x86_64) +license=('GPL2') +url="http://www.xfce.org/projects/terminal/" +groups=('xfce4') +depends=('exo>=0.3.100' "vte>=0.17.4-2" 'dbus-glib>=0.78' + 'startup-notification>=0.9' 'hicolor-icon-theme') +makedepends=('pkgconfig') +options=('!libtool') +install=terminal.install +source=(http://www.xfce.org/archive/xfce-4.6.0/src/Terminal-${pkgver}.tar.bz2 + terminal-dont-die-on-dbus-kill.patch) +md5sums=('f6cefa97cf5cad558187267783ffce8a' + '7cff5c513739737a0ed2109354538241') + +build() { + cd ${srcdir}/Terminal-${pkgver} + patch -Np0 -i ${srcdir}/terminal-dont-die-on-dbus-kill.patch || return 1 + ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/xfce4 \ + --localstatedir=/var --disable-static || return 1 + make || return 1 + make DESTDIR=${pkgdir} install || return 1 +} diff --git a/abs/extra/terminal/terminal-dont-die-on-dbus-kill.patch b/abs/extra/terminal/terminal-dont-die-on-dbus-kill.patch new file mode 100644 index 0000000..e20e45c --- /dev/null +++ b/abs/extra/terminal/terminal-dont-die-on-dbus-kill.patch @@ -0,0 +1,10 @@ +--- terminal/terminal-dbus.c.orig 2007-01-23 22:25:12.000000000 +0000 ++++ terminal/terminal-dbus.c 2007-01-23 22:25:50.000000000 +0000 +@@ -191,6 +191,7 @@ terminal_dbus_register_service (Terminal + + /* register DBus connection with GLib main loop */ + dbus_connection_setup_with_g_main (connection, NULL); ++ dbus_connection_set_exit_on_disconnect (connection, FALSE); + + if (dbus_bus_request_name (connection, TERMINAL_DBUS_SERVICE, 0, &derror) < 0) + { diff --git a/abs/extra/terminal/terminal.install b/abs/extra/terminal/terminal.install new file mode 100644 index 0000000..21b79d2 --- /dev/null +++ b/abs/extra/terminal/terminal.install @@ -0,0 +1,11 @@ +post_install() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} |