diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /gnome-unstable/vinagre |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'gnome-unstable/vinagre')
-rw-r--r-- | gnome-unstable/vinagre/PKGBUILD | 33 | ||||
-rw-r--r-- | gnome-unstable/vinagre/vinagre.install | 20 |
2 files changed, 53 insertions, 0 deletions
diff --git a/gnome-unstable/vinagre/PKGBUILD b/gnome-unstable/vinagre/PKGBUILD new file mode 100644 index 000000000..53f03b189 --- /dev/null +++ b/gnome-unstable/vinagre/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 117798 2011-04-04 17:59:09Z heftig $ +# Maintainer: Jan de Groot <jgc@archlinux.org> +# Maintainer: Allan McRae <mcrae_allan@hotmail.com> +# Contributor: lp76 <l.peduto@gmail.com> + +pkgname=vinagre +pkgver=3.0.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' 'avahi' 'desktop-file-utils' 'hicolor-icon-theme' 'telepathy-glib' 'dconf' 'libpeas' 'shared-mime-info') +optdepends=('rdesktop: RDP plugin') +makedepends=('gtk-doc' 'intltool' 'rdesktop') +groups=('gnome-extra') +options=('!emptydirs' '!libtool') +source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2) +sha256sums=('c454b47264bbd424f345a79079f2651600ac8335d428c899e2b28d297450c124') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + # Disable Spice until someone cares (file a bug!) + ./configure --prefix=/usr --sysconfdir=/etc --disable-scrollkeeper \ + --libexecdir=/usr/lib/vinagre --enable-rdp --disable-spice + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/gnome-unstable/vinagre/vinagre.install b/gnome-unstable/vinagre/vinagre.install new file mode 100644 index 000000000..68158ac80 --- /dev/null +++ b/gnome-unstable/vinagre/vinagre.install @@ -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 +} |