diff options
author | Bartłomiej Piotrowski <b@bpiotrowski.pl> | 2015-11-09 12:11:12 +0100 |
---|---|---|
committer | Bartłomiej Piotrowski <b@bpiotrowski.pl> | 2015-11-09 12:11:12 +0100 |
commit | 0e86891f2376c7545a01b25aea5eb900095b493d (patch) | |
tree | f2f18c8f6cb67b18f51f10a0fe71d0e23ce81167 /community/gnome-terminal | |
parent | e54037f9267800e3d6f358648061ae4ff255b1b5 (diff) | |
download | aports-0e86891f2376c7545a01b25aea5eb900095b493d.tar.bz2 aports-0e86891f2376c7545a01b25aea5eb900095b493d.tar.xz |
main/gnome-terminal: move to community
Diffstat (limited to 'community/gnome-terminal')
-rw-r--r-- | community/gnome-terminal/APKBUILD | 47 | ||||
-rw-r--r-- | community/gnome-terminal/gnome-terminal.post-install | 7 | ||||
-rw-r--r-- | community/gnome-terminal/gnome-terminal.post-upgrade | 7 | ||||
-rw-r--r-- | community/gnome-terminal/gnome-terminal.pre-deinstall | 7 |
4 files changed, 68 insertions, 0 deletions
diff --git a/community/gnome-terminal/APKBUILD b/community/gnome-terminal/APKBUILD new file mode 100644 index 0000000000..930803886c --- /dev/null +++ b/community/gnome-terminal/APKBUILD @@ -0,0 +1,47 @@ +# Contributor: William Pitcock <nenolod@dereferenced.org> +# Maintainer: William Pitcock <nenolod@dereferenced.org> +pkgname=gnome-terminal +pkgver=2.33.5 +pkgrel=1 +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="$pkgname-lang" +source="ftp://ftp.gnome.org/pub/GNOME/sources/gnome-terminal/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2" + +_builddir="${srcdir}/${pkgname}-${pkgver}" +prepare() { + local i + cd "$_builddir" + update_config_sub || return 1 + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --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="c52608556d80f48a6c3b60d19a6199cf gnome-terminal-2.33.5.tar.bz2" diff --git a/community/gnome-terminal/gnome-terminal.post-install b/community/gnome-terminal/gnome-terminal.post-install new file mode 100644 index 0000000000..7da0a45406 --- /dev/null +++ b/community/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/community/gnome-terminal/gnome-terminal.post-upgrade b/community/gnome-terminal/gnome-terminal.post-upgrade new file mode 100644 index 0000000000..7da0a45406 --- /dev/null +++ b/community/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/community/gnome-terminal/gnome-terminal.pre-deinstall b/community/gnome-terminal/gnome-terminal.pre-deinstall new file mode 100644 index 0000000000..b888a3f330 --- /dev/null +++ b/community/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 |