From 69fa6a5df72550f0adc3ea91b91df8fd7810bd95 Mon Sep 17 00:00:00 2001 From: toastercup Date: Sun, 13 Mar 2016 19:34:39 -0500 Subject: [PATCH] Register hifi:// protocol for Interface, use xdg-desktop-menu to install .desktop entry, bump pkgver --- hifi-interface/PKGBUILD | 4 ++-- hifi-interface/hifi-interface.desktop | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/hifi-interface/PKGBUILD b/hifi-interface/PKGBUILD index ed58e08..d69561a 100644 --- a/hifi-interface/PKGBUILD +++ b/hifi-interface/PKGBUILD @@ -4,7 +4,7 @@ # Issues: https://github.com/toastercup/aur-packages/issues pkgname=hifi-interface-git -pkgver=r39957.f21815e +pkgver=r40509.9e0d9f5 pkgrel=1 pkgdesc="High Fidelity is an open, decentralized virtual world using sensors to control avatars and dynamically assigned devices as servers (git - master)" arch=('i686' 'x86_64') @@ -70,7 +70,7 @@ build() { package() { install -Dm644 hifi-interface.png "$pkgdir/usr/share/pixmaps/hifi-interface.png" - install -Dm644 hifi-interface.desktop "$pkgdir/usr/share/applications/hifi-interface.desktop" + xdg-desktop-menu install --mode system hifi-interface.desktop mkdir -p "$pkgdir/usr/bin" cd "$srcdir/build" diff --git a/hifi-interface/hifi-interface.desktop b/hifi-interface/hifi-interface.desktop index f4c2ffd..55c5c7f 100644 --- a/hifi-interface/hifi-interface.desktop +++ b/hifi-interface/hifi-interface.desktop @@ -6,4 +6,5 @@ Exec=/opt/hifi/interface/interface Icon=/usr/share/pixmaps/hifi-interface.png Terminal=false StartupNotify=true -Categories=Network;Game;3DGraphics;Qt +Categories=Network;Game;3DGraphics +MimeType=x-scheme-handler/hifi;