summaryrefslogtreecommitdiff
path: root/extra/vte3/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-10-02 23:14:32 +0000
committerroot <root@rshg054.dnsready.net>2011-10-02 23:14:32 +0000
commitad84169d66d20378d28533c216b73c9a6646d6d7 (patch)
tree2746e102687e113dd81d632b51933b62ff458934 /extra/vte3/PKGBUILD
parent0f78806d775c4d46c649425fcb67964d53531db8 (diff)
Sun Oct 2 23:14:32 UTC 2011
Diffstat (limited to 'extra/vte3/PKGBUILD')
-rw-r--r--extra/vte3/PKGBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/extra/vte3/PKGBUILD b/extra/vte3/PKGBUILD
new file mode 100644
index 000000000..610261ccd
--- /dev/null
+++ b/extra/vte3/PKGBUILD
@@ -0,0 +1,42 @@
+# $Id: PKGBUILD 139455 2011-10-01 19:02:07Z ibiru $
+# Maintainer: Ionut Biru <ibiru@archlinux.org>
+
+pkgbase=vte3
+pkgname=(vte3 vte-common)
+pkgver=0.30.0
+pkgrel=1
+pkgdesc="Virtual Terminal Emulator widget for use with GTK3"
+arch=('i686' 'x86_64')
+license=('LGPL')
+options=('!libtool' '!emptydirs')
+makedepends=('intltool' 'gobject-introspection' 'gtk3')
+url="http://www.gnome.org"
+source=(http://ftp.gnome.org/pub/GNOME/sources/vte/0.30/vte-${pkgver}.tar.xz)
+sha256sums=('4b4e13b46e026f1ba088a5bdf9786a339fedb88438f0e094bc7afe5e376be410')
+
+build() {
+ cd "${srcdir}/vte-${pkgver}"
+ #warning: type-punning to incomplete type might break strict-aliasing rules
+ export CFLAGS="$CFLAGS -fno-strict-aliasing"
+
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --libexecdir=/usr/lib/vte \
+ --localstatedir=/var --disable-static \
+ --enable-introspection
+ make
+}
+
+package_vte3(){
+ depends=('gtk3' 'vte-common')
+ cd "${srcdir}/vte-${pkgver}"
+ 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}/vte-${pkgver}"
+
+ make -C gnome-pty-helper DESTDIR="${pkgdir}" install
+}