summaryrefslogtreecommitdiff
path: root/extra/vte
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-10-03 23:14:36 +0000
committerroot <root@rshg054.dnsready.net>2011-10-03 23:14:36 +0000
commit57d05f7209f022aa99a8850aafbeec4cb85c3b5b (patch)
tree8f6753258e8359d1314356a677cdb32ae94658ab /extra/vte
parentad84169d66d20378d28533c216b73c9a6646d6d7 (diff)
Mon Oct 3 23:14:36 UTC 2011
Diffstat (limited to 'extra/vte')
-rw-r--r--extra/vte/PKGBUILD51
1 files changed, 10 insertions, 41 deletions
diff --git a/extra/vte/PKGBUILD b/extra/vte/PKGBUILD
index 863215a31..5cd10f758 100644
--- a/extra/vte/PKGBUILD
+++ b/extra/vte/PKGBUILD
@@ -1,66 +1,35 @@
-# $Id: PKGBUILD 136406 2011-08-29 07:32:55Z ibiru $
+# $Id: PKGBUILD 139491 2011-10-02 09:08:18Z ibiru $
# Maintainer: Jan de Groot <jgc@archlinux.org>
-pkgbase=vte
-pkgname=(vte vte3 vte-common)
+pkgname=vte
pkgver=0.28.2
-pkgrel=1
-pkgdesc="Virtual Terminal Emulator widget for use with"
+pkgrel=2
+pkgdesc="Virtual Terminal Emulator widget for use with GTK2"
arch=('i686' 'x86_64')
license=('LGPL')
options=('!libtool' '!emptydirs')
-makedepends=('pygtk' 'intltool' 'gobject-introspection' 'gtk2' 'gtk3' 'pygobject-devel' 'gtk-doc')
+depends=('gtk2' 'vte-common')
+makedepends=('pygtk' 'intltool' 'gobject-introspection' 'pygobject2-devel' 'gtk-doc')
url="http://www.gnome.org"
source=(http://ftp.gnome.org/pub/GNOME/sources/vte/0.28/vte-${pkgver}.tar.xz)
sha256sums=('86cf0b81aa023fa93ed415653d51c96767f20b2d7334c893caba71e42654b0ae')
build() {
- cd "${srcdir}/${pkgbase}-${pkgver}"
+ cd "${srcdir}/${pkgname}-${pkgver}"
#warning: type-punning to incomplete type might break strict-aliasing rules
export CFLAGS="$CFLAGS -fno-strict-aliasing"
- mkdir build-gtk2
- pushd build-gtk2
- PYTHON=python2 ../configure --prefix=/usr --sysconfdir=/etc \
+ PYTHON=/usr/bin/python2 ./configure --prefix=/usr --sysconfdir=/etc \
--libexecdir=/usr/lib/vte \
--localstatedir=/var --disable-static \
--enable-introspection --with-gtk=2.0 \
--enable-gtk-doc
make
- popd
-
- mkdir build-gtk3
- pushd build-gtk3
- PYTHON=python2 ../configure --prefix=/usr --sysconfdir=/etc \
- --libexecdir=/usr/lib/vte \
- --localstatedir=/var --disable-static \
- --enable-introspection --with-gtk=3.0 \
- --enable-gtk-doc
- make
- popd
}
-package_vte(){
- pkgdesc+=" GTK2"
- depends=('gtk2' 'vte-common')
- cd "${srcdir}/${pkgbase}-${pkgver}"/build-gtk2
+package(){
+ cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
rm "${pkgdir}"/usr/lib/vte/gnome-pty-helper
}
-
-package_vte3(){
- pkgdesc+=" GTK3"
- depends=('gtk3' 'vte-common')
- cd "${srcdir}/${pkgbase}-${pkgver}"/build-gtk3
- make DESTDIR="${pkgdir}" install
-
- rm "${pkgdir}"/usr/lib/vte/gnome-pty-helper
-}
-
-package_vte-common() {
- pkgdesc="Common files used by vte and vte3"
- cd "${srcdir}/${pkgbase}-${pkgver}"/build-gtk3
-
- make -C gnome-pty-helper DESTDIR="${pkgdir}" install
-}