From 4ed85c11c3faaf70fd3beedbdabb1aeded5047bf Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sat, 22 Jan 2011 20:59:46 -0600 Subject: testing/gnome-terminal: new aport --- testing/gnome-terminal/APKBUILD | 42 ++++++++++++++++++++++ .../gnome-terminal/gnome-terminal.post-deinstall | 4 +++ testing/gnome-terminal/gnome-terminal.post-install | 4 +++ testing/gnome-terminal/gnome-terminal.post-upgrade | 4 +++ 4 files changed, 54 insertions(+) create mode 100644 testing/gnome-terminal/APKBUILD create mode 100644 testing/gnome-terminal/gnome-terminal.post-deinstall create mode 100644 testing/gnome-terminal/gnome-terminal.post-install create mode 100644 testing/gnome-terminal/gnome-terminal.post-upgrade (limited to 'testing') diff --git a/testing/gnome-terminal/APKBUILD b/testing/gnome-terminal/APKBUILD new file mode 100644 index 0000000000..c270dcd73c --- /dev/null +++ b/testing/gnome-terminal/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: William Pitcock +# Maintainer: +pkgname=gnome-terminal +pkgver=2.33.4 +pkgrel=0 +pkgdesc="GNOME terminal emulator" +url="http://projects.gnome.org/gnome-terminal" +arch="all" +license="GPL" +depends= +makedepends="gtk+-dev vte-dev gconf-dev libx11-dev gnome-doc-utils" +install="$pkgname.post-install $pkgname.post-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/testing/gnome-terminal/gnome-terminal.post-deinstall b/testing/gnome-terminal/gnome-terminal.post-deinstall new file mode 100644 index 0000000000..5ce4725623 --- /dev/null +++ b/testing/gnome-terminal/gnome-terminal.post-deinstall @@ -0,0 +1,4 @@ +#!/bin/sh + +GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` \ + /usr/bin/gconftool-2 --makefile-uninstall-rule /etc/gconf/schemas/gnome-terminal.schemas diff --git a/testing/gnome-terminal/gnome-terminal.post-install b/testing/gnome-terminal/gnome-terminal.post-install new file mode 100644 index 0000000000..6891e90fa0 --- /dev/null +++ b/testing/gnome-terminal/gnome-terminal.post-install @@ -0,0 +1,4 @@ +#!/bin/sh + +GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` \ + /usr/bin/gconftool-2 --makefile-install-rule /etc/gconf/schemas/gnome-terminal.schemas diff --git a/testing/gnome-terminal/gnome-terminal.post-upgrade b/testing/gnome-terminal/gnome-terminal.post-upgrade new file mode 100644 index 0000000000..6891e90fa0 --- /dev/null +++ b/testing/gnome-terminal/gnome-terminal.post-upgrade @@ -0,0 +1,4 @@ +#!/bin/sh + +GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` \ + /usr/bin/gconftool-2 --makefile-install-rule /etc/gconf/schemas/gnome-terminal.schemas -- cgit v1.2.3