diff options
Diffstat (limited to 'main/gnome-terminal')
-rw-r--r-- | main/gnome-terminal/APKBUILD | 42 | ||||
-rw-r--r-- | main/gnome-terminal/gnome-terminal.post-install | 7 | ||||
-rw-r--r-- | main/gnome-terminal/gnome-terminal.post-upgrade | 7 | ||||
-rw-r--r-- | main/gnome-terminal/gnome-terminal.pre-deinstall | 7 |
4 files changed, 63 insertions, 0 deletions
diff --git a/main/gnome-terminal/APKBUILD b/main/gnome-terminal/APKBUILD new file mode 100644 index 0000000000..ca5ba597fc --- /dev/null +++ b/main/gnome-terminal/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: William Pitcock <nenolod@dereferenced.org> +# Maintainer: William Pitcock <nenolod@dereferenced.org> +pkgname=gnome-terminal +pkgver=2.33.4 +pkgrel=3 +pkgdesc="GNOME terminal emulator" +url="http://projects.gnome.org/gnome-terminal" +arch="all" +license="GPL" +depends="libgnome" +makedepends="gtk+-dev vte-dev gconf-dev libx11-dev gnome-doc-utils libsm-dev ncurses-dev" +install="$pkgname.post-install $pkgname.pre-deinstall $pkgname.post-upgrade" +subpackages= +source="ftp://ftp.gnome.org/pub/GNOME/sources/gnome-terminal/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2" + +_builddir="${srcdir}/${pkgname}-${pkgver}" +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --disable-scrollkeeper || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + + export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="1293d90f7cf4dd041596501ef53fc5e1 gnome-terminal-2.33.4.tar.bz2" diff --git a/main/gnome-terminal/gnome-terminal.post-install b/main/gnome-terminal/gnome-terminal.post-install new file mode 100644 index 0000000000..7da0a45406 --- /dev/null +++ b/main/gnome-terminal/gnome-terminal.post-install @@ -0,0 +1,7 @@ +#!/bin/sh + +for i in gnome-terminal.schemas; do + echo "Installing GConf2 schema $i." + GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` \ + /usr/bin/gconftool-2 --makefile-install-rule /etc/gconf/schemas/$i >/dev/null +done diff --git a/main/gnome-terminal/gnome-terminal.post-upgrade b/main/gnome-terminal/gnome-terminal.post-upgrade new file mode 100644 index 0000000000..7da0a45406 --- /dev/null +++ b/main/gnome-terminal/gnome-terminal.post-upgrade @@ -0,0 +1,7 @@ +#!/bin/sh + +for i in gnome-terminal.schemas; do + echo "Installing GConf2 schema $i." + GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` \ + /usr/bin/gconftool-2 --makefile-install-rule /etc/gconf/schemas/$i >/dev/null +done diff --git a/main/gnome-terminal/gnome-terminal.pre-deinstall b/main/gnome-terminal/gnome-terminal.pre-deinstall new file mode 100644 index 0000000000..b888a3f330 --- /dev/null +++ b/main/gnome-terminal/gnome-terminal.pre-deinstall @@ -0,0 +1,7 @@ +#!/bin/sh + +for i in gnome-terminal.schemas; do + echo "Uninstalling GConf2 schema $i." + GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` \ + /usr/bin/gconftool-2 --makefile-uninstall-rule /etc/gconf/schemas/$i >/dev/null +done |