PKGBUILDs/extra/gnome-terminal/PKGBUILD

33 lines
1.2 KiB
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 44701 2009-07-03 18:07:43Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=gnome-terminal
pkgver=2.26.3.1
pkgrel=1
pkgdesc="The GNOME Terminal Emulator"
arch=(i686 x86_64)
license=('GPL')
depends=('gconf>=2.26.0-2' 'vte>=0.20.5' 'startup-notification>=0.10')
makedepends=('pkgconfig' 'gnome-doc-utils>=0.16.0' 'intltool')
options=('!emptydirs')
url="http://www.gnome.org"
groups=('gnome-extra')
install=gnome-terminal.install
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.26/${pkgname}-${pkgver}.tar.bz2
terminal-dontping.patch)
md5sums=('b6c6c0f5f3e061da7e56f3a04385bb7b'
'9ae26f8e6a9f0401889e8a0ba7e831d6')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -Np0 -i "${srcdir}/terminal-dontping.patch" || return 1
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --disable-scrollkeeper || return 1
make || return 1
make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1
install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain gnome-terminal ${pkgdir}/etc/gconf/schemas/*.schemas || return 1
rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
}