Index: PKGBUILD =================================================================== --- PKGBUILD (revision 85952) +++ PKGBUILD (working copy) @@ -6,12 +6,13 @@ pkgname=unetbootin pkgver=583 -pkgrel=4 +pkgrel=5 arch=('x86_64' 'i686') license=('GPL') pkgdesc='Create bootable Live USB drives' url='http://unetbootin.sourceforge.net/' -depends=('syslinux' 'p7zip' 'qt4' 'mtools' 'xorg-xmessage' 'desktop-file-utils' 'gtk-update-icon-cache' 'polkit' 'polkit-gnome') +depends=('syslinux' 'p7zip' 'qt4' 'mtools' 'polkit') +optdepends=('polkit-gnome: to run unetbootin directly from menu') install=$pkgname.install source=("http://downloads.sourceforge.net/project/$pkgname/UNetbootin/$pkgver/$pkgname-source-$pkgver.tar.gz" 'org.archlinux.pkexec.unetbootin.policy') @@ -27,7 +28,7 @@ make echo '#!/bin/sh' > "$pkgname.sh" - echo 'pkexec /usr/bin/unetbootin.elf' >> "$pkgname.sh" + echo 'pkexec --disable-internal-agent /usr/bin/unetbootin.elf' >> "$pkgname.sh" } package() { Index: unetbootin.install =================================================================== --- unetbootin.install (revision 85952) +++ unetbootin.install (working copy) @@ -1,17 +1,16 @@ post_install() { - gtk-update-icon-cache -q -f -t /usr/share/icons/hicolor - update-desktop-database -q + xdg-icon-resource forceupdate echo 'If you use a lightweight windowmanager, remember to run' echo '/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 to enable' echo 'graphical authentication, which may be needed for pkexec to work.' } post_upgrade() { - post_install + xdg-icon-resource forceupdate } post_remove() { - post_install + xdg-icon-resource forceupdate } # vim:set ts=2 sw=2 et: