summaryrefslogtreecommitdiff
path: root/testing/vinagre
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-09-29 23:14:32 +0000
committerroot <root@rshg054.dnsready.net>2011-09-29 23:14:32 +0000
commit0abb1942e8be584d56a1b35b2d1911cbe9f5bbd1 (patch)
tree1a8030f72ecc9d90c9f4c41d9a9d0662169b6404 /testing/vinagre
parentf8db5d1487e8e0ceeb97a396e357c1540a047ed8 (diff)
Thu Sep 29 23:14:32 UTC 2011
Diffstat (limited to 'testing/vinagre')
-rw-r--r--testing/vinagre/PKGBUILD32
-rw-r--r--testing/vinagre/vinagre.install20
2 files changed, 52 insertions, 0 deletions
diff --git a/testing/vinagre/PKGBUILD b/testing/vinagre/PKGBUILD
new file mode 100644
index 000000000..075ad8f9b
--- /dev/null
+++ b/testing/vinagre/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 139073 2011-09-28 19:33:31Z ibiru $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+# Maintainer: Allan McRae <mcrae_allan@hotmail.com>
+# Contributor: lp76 <l.peduto@gmail.com>
+
+pkgname=vinagre
+pkgver=3.2.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' 'dconf' 'shared-mime-info' 'gnome-icon-theme')
+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.xz)
+sha256sums=('9ba0d13000d81d0e47f456b138f52ef2cb7a603c71381993952acc87c25e2e61')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./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/testing/vinagre/vinagre.install b/testing/vinagre/vinagre.install
new file mode 100644
index 000000000..68158ac80
--- /dev/null
+++ b/testing/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
+}