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/APKBUILD | |
parent | 5c02840ffeb830ffc1b7078d6d8f6efceda46063 (diff) | |
download | aports-95b9fd7a2725509f3443200d44846022609d95c7.tar.bz2 aports-95b9fd7a2725509f3443200d44846022609d95c7.tar.xz |
testing/gnome-terminal: promote to main
Diffstat (limited to 'main/gnome-terminal/APKBUILD')
-rw-r--r-- | main/gnome-terminal/APKBUILD | 42 |
1 files changed, 42 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" |