aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-01-22 20:59:46 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2011-01-22 20:59:46 -0600
commit4ed85c11c3faaf70fd3beedbdabb1aeded5047bf (patch)
tree46603ad4bb4729fbb7ef9fe62449b5c1ce14bee2 /testing
parentd78cdd9f75f8d6db721094f638929977b8e41595 (diff)
downloadaports-4ed85c11c3faaf70fd3beedbdabb1aeded5047bf.tar.bz2
aports-4ed85c11c3faaf70fd3beedbdabb1aeded5047bf.tar.xz
testing/gnome-terminal: new aport
Diffstat (limited to 'testing')
-rw-r--r--testing/gnome-terminal/APKBUILD42
-rw-r--r--testing/gnome-terminal/gnome-terminal.post-deinstall4
-rw-r--r--testing/gnome-terminal/gnome-terminal.post-install4
-rw-r--r--testing/gnome-terminal/gnome-terminal.post-upgrade4
4 files changed, 54 insertions, 0 deletions
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 <nenolod@dereferenced.org>
+# 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