From 994ca8b3d7a14ef97d75b40b7554a9892bd0283f Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Tue, 4 Feb 2014 03:35:24 +0000 Subject: Tue Feb 4 03:33:07 UTC 2014 --- community/virtviewer/PKGBUILD | 13 +++++++------ community/virtviewer/virtviewer.install | 13 +++++++++++++ 2 files changed, 20 insertions(+), 6 deletions(-) create mode 100644 community/virtviewer/virtviewer.install (limited to 'community/virtviewer') diff --git a/community/virtviewer/PKGBUILD b/community/virtviewer/PKGBUILD index b48c0d2b6..bd4d137bc 100644 --- a/community/virtviewer/PKGBUILD +++ b/community/virtviewer/PKGBUILD @@ -1,22 +1,23 @@ -# $Id: PKGBUILD 95330 2013-08-09 16:10:52Z spupykin $ +# $Id: PKGBUILD 105236 2014-02-03 09:59:08Z heftig $ # Maintainer: Sergej Pupykin # Maintainer: Jonathan Wiersma pkgname=virtviewer -pkgver=0.5.7 -pkgrel=1 +pkgver=0.6.0 +pkgrel=2 pkgdesc="A lightweight interface for interacting with the graphical display of virtualized guest OS." -depends=('gtk-vnc' 'libglade>=2.6.0' 'libvirt' 'spice-gtk3') +depends=('gtk-vnc' 'libglade>=2.6.0' 'libvirt' 'spice-gtk3' 'desktop-file-utils') makedepends=('intltool') url="http://virt-manager.et.redhat.com" arch=('i686' 'x86_64') license=('GPL') +install=virtviewer.install source=("http://virt-manager.et.redhat.com/download/sources/virt-viewer/virt-viewer-$pkgver.tar.gz") -md5sums=('c0d6d2de66e61df6c2ad339625c58a2a') +md5sums=('a3d7dd877105117e36185378ee1849ee') build() { cd $srcdir/virt-viewer-$pkgver - ./configure --prefix=/usr --with-gtk=3.0 + ./configure --prefix=/usr --with-gtk=3.0 --disable-update-mimedb make } diff --git a/community/virtviewer/virtviewer.install b/community/virtviewer/virtviewer.install new file mode 100644 index 000000000..4d07c984a --- /dev/null +++ b/community/virtviewer/virtviewer.install @@ -0,0 +1,13 @@ +post_install() { + update-desktop-database -q + gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor + update-mime-database /usr/share/mime > /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} -- cgit v1.2.3-54-g00ecf