From 9642a9a201e0b22d879de8304989ab5ad3cda787 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Mon, 4 Aug 2014 18:10:35 +0200 Subject: Clean up PKGBUILDs --- .SRCINFO | 2 +- PKGBUILD | 43 +++++++++++++++++++++++-------------------- 2 files changed, 24 insertions(+), 21 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 83f7cff..ccadf50 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -2,7 +2,7 @@ # Mon Jun 1 14:56:20 UTC 2015 pkgbase = vte3-select-text-git pkgdesc = Virtual Terminal Emulator widget for use with GTK3 - pkgver = git + pkgver = 0.36.2.r13.g2991e7a pkgrel = 1 url = http://www.gnome.org arch = i686 diff --git a/PKGBUILD b/PKGBUILD index ab8ed58..d0cebb6 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,11 +1,11 @@ pkgname=vte3-select-text-git -pkgver=git +pkgver=0.36.2.r13.g2991e7a pkgrel=1 pkgdesc="Virtual Terminal Emulator widget for use with GTK3" +url="http://www.gnome.org" arch=('i686' 'x86_64') license=('LGPL') -url="http://www.gnome.org" options=('!libtool' '!emptydirs') @@ -16,33 +16,36 @@ provides=('vte3') conflicts=('vte3' 'vte3-select-text') source=('expose_select_text.patch' - 'git://git.gnome.org/vte#branch=vte-0-36') -sha256sums=('37fc0ecd4939c3b14f36dace31b54507e0f1cf1fc95a07ae079b1997d0481d7e'\ - 'SKIP') + 'git://git.gnome.org/vte#branch=vte-0-36') +sha256sums=('37fc0ecd4939c3b14f36dace31b54507e0f1cf1fc95a07ae079b1997d0481d7e' + 'SKIP') pkgver() { - cd vte - git describe | sed 's/-/.r/; s/-/./' + cd vte + git describe | sed 's/-/.r/; s/-/./' } prepare() { - cd vte - patch -p1 -i "$srcdir"/expose_select_text.patch + 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 + 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 + cd vte + + make DESTDIR="$pkgdir" install + rm "$pkgdir"/usr/lib/vte/gnome-pty-helper } -- cgit v1.2.3-70-g09d2