[arch-commits] Commit in gtk-vnc/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Sun Mar 11 01:23:41 EST 2012


    Date: Sunday, March 11, 2012 @ 01:23:41
  Author: heftig
Revision: 152990

0.5.0, for g-u

Modified:
  gtk-vnc/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-03-11 06:09:53 UTC (rev 152989)
+++ PKGBUILD	2012-03-11 06:23:41 UTC (rev 152990)
@@ -1,11 +1,11 @@
 # $Id$
-# Maintainer:
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
 # Contributor: Jan de Groot <jgc at archlinux.org>
 # Contributor: Allan McRae <mcrae_allan at hotmail.com>
 # Contributor: lp76 <l.peduto at gmail.com>
 
 pkgname=gtk-vnc
-pkgver=0.4.4
+pkgver=0.5.0
 pkgrel=1
 pkgdesc="A VNC viewer widget for GTK"
 arch=('i686' 'x86_64')
@@ -16,13 +16,14 @@
 makedepends=('intltool' 'pygtk' 'pygobject2-devel' 'gtk-doc' 'gtk2' 'vala' 'gobject-introspection')
 options=('!libtool')
 source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz)
-sha256sums=('c93fdb53c78b52a1cfa067c1a0be0b93d4adfc17ccea1215f20eeab2818308b7')
+sha256sums=('1de65d8ffa8c25a61a8e8c4b7e5963d4a826f4fcf7120d66ed027f5f70cc8f81')
 
 build() {
-  cd "$srcdir"
-  cp -a $pkgname-$pkgver gtk3-build
+  rm -rf gtk2-build gtk3-build
+  cp -a $pkgname-$pkgver gtk2-build
+  mv $pkgname-$pkgver gtk3-build
 
-  ( cd $pkgname-$pkgver
+  ( cd gtk2-build
     PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
       --with-python --disable-static --with-gtk=2.0
     make )
@@ -34,7 +35,6 @@
 }
 
 package() {
-  cd "${srcdir}"
-  make -C $pkgname-$pkgver -j1 DESTDIR="${pkgdir}" install
+  make -C gtk2-build -j1 DESTDIR="${pkgdir}" install
   make -C gtk3-build -j1 DESTDIR="${pkgdir}" install
 }



More information about the arch-commits mailing list