diff options
author | William Pitcock <nenolod@dereferenced.org> | 2011-01-24 11:20:04 -0600 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2011-01-24 11:20:04 -0600 |
commit | 95b9fd7a2725509f3443200d44846022609d95c7 (patch) | |
tree | 3d567535f51d4713365a5dd3473fae6c644bcdbf /main/gnome-terminal | |
parent | 5c02840ffeb830ffc1b7078d6d8f6efceda46063 (diff) | |
download | aports-95b9fd7a2725509f3443200d44846022609d95c7.tar.bz2 aports-95b9fd7a2725509f3443200d44846022609d95c7.tar.xz |
testing/gnome-terminal: promote to main
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 000000000..ca5ba597f --- /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 000000000..7da0a4540 --- /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 000000000..7da0a4540 --- /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 000000000..b888a3f33 --- /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 |