[arch-commits] Commit in vinagre/repos (4 files)

Jan Steffens heftig at archlinux.org
Sun Apr 1 07:37:43 EDT 2012


    Date: Sunday, April 1, 2012 @ 07:37:42
  Author: heftig
Revision: 155284

db-move: moved vinagre from [gnome-unstable] to [testing] (x86_64)

Added:
  vinagre/repos/testing-x86_64/
  vinagre/repos/testing-x86_64/PKGBUILD
    (from rev 155005, vinagre/repos/gnome-unstable-x86_64/PKGBUILD)
  vinagre/repos/testing-x86_64/vinagre.install
    (from rev 155005, vinagre/repos/gnome-unstable-x86_64/vinagre.install)
Deleted:
  vinagre/repos/gnome-unstable-x86_64/

-----------------+
 PKGBUILD        |   35 +++++++++++++++++++++++++++++++++++
 vinagre.install |   20 ++++++++++++++++++++
 2 files changed, 55 insertions(+)

Copied: vinagre/repos/testing-x86_64/PKGBUILD (from rev 155005, vinagre/repos/gnome-unstable-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2012-04-01 11:37:42 UTC (rev 155284)
@@ -0,0 +1,35 @@
+# $Id$
+# 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=vinagre
+pkgver=3.4.0
+pkgrel=1
+pkgdesc="A VNC Client for the GNOME Desktop"
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://www.gnome.org/projects/vinagre/"
+install=vinagre.install
+depends=('libgnome-keyring' 'gtk-vnc' 'vte3' 'telepathy-glib' 'avahi' 'desktop-file-utils' 'dconf' 'shared-mime-info' 'gnome-icon-theme')
+optdepends=('openssh: SSH plugin'
+            'rdesktop: RDP plugin')
+makedepends=('gnome-doc-utils' 'intltool' 'rdesktop' 'openssh' 'itstool')
+groups=('gnome-extra')
+options=('!emptydirs' '!libtool')
+source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
+sha256sums=('0379e679204e9ddf63670acc9a902e70d7c3d26eb5070ceb5826a6fbbfdf1489')
+
+build() {
+  cd $pkgname-$pkgver
+
+  ./configure --prefix=/usr --sysconfdir=/etc \
+      --libexecdir=/usr/lib/vinagre --enable-rdp --disable-spice
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}

Copied: vinagre/repos/testing-x86_64/vinagre.install (from rev 155005, vinagre/repos/gnome-unstable-x86_64/vinagre.install)
===================================================================
--- testing-x86_64/vinagre.install	                        (rev 0)
+++ testing-x86_64/vinagre.install	2012-04-01 11:37:42 UTC (rev 155284)
@@ -0,0 +1,20 @@
+post_install() {
+  usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas
+  update-desktop-database -q
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+  update-mime-database usr/share/mime > /dev/null
+}
+
+pre_upgrade() {
+  if (( $(vercmp $2 2.91.91-2) < 0 )); then
+    usr/sbin/gconfpkg --uninstall vinagre
+  fi
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}



More information about the arch-commits mailing list