diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..784281c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,48 @@ +pkgname=vte3-select-text-git +pkgver=0.35.2.r1.g2af14ef +pkgrel=1 + +pkgdesc="Virtual Terminal Emulator widget for use with GTK3" +arch=('i686' 'x86_64') +license=('LGPL') +url="http://www.gnome.org" + +options=('!libtool' '!emptydirs') + +depends=('gtk3' 'vte-common') +makedepends=('intltool' 'gobject-introspection' 'gtk3' 'gtk-doc' 'gperf') + +provides=('vte3') +conflicts=('vte3' 'vte3-select-text') + +source=('git://git.gnome.org/vte#branch=vte-0-36' + 'expose_select_text.patch') +sha256sums=('SKIP' + '37fc0ecd4939c3b14f36dace31b54507e0f1cf1fc95a07ae079b1997d0481d7e') + +pkgver() { + cd vte + git describe | sed 's/-/.r/; s/-/./' +} + +prepare() { + cd vte + patch -p1 -i "$srcdir"/expose_select_text.patch +} + +build() { + cd vte + ./autogen.sh + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --enable-introspection \ + --libexecdir=/usr/lib/vte \ + --localstatedir=/var --disable-static + make +} + +package() { + cd vte + make DESTDIR="$pkgdir" install + rm "$pkgdir"/usr/lib/vte/gnome-pty-helper +} |