[arch-commits] Commit in unetbootin/trunk (PKGBUILD unetbootin.install)

2016-05-23 Thread Alexander Rødseth
Date: Monday, May 23, 2016 @ 20:16:33
  Author: arodseth
Revision: 176147

upgpkg: unetbootin 619-2

Modified:
  unetbootin/trunk/PKGBUILD
Deleted:
  unetbootin/trunk/unetbootin.install

+
 PKGBUILD   |7 +++
 unetbootin.install |   13 -
 2 files changed, 3 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-05-23 18:06:51 UTC (rev 176146)
+++ PKGBUILD2016-05-23 18:16:33 UTC (rev 176147)
@@ -1,12 +1,12 @@
 # $Id$
-# Maintainer: Alexander Rødseth 
-# Contributor: Det 
+# Maintainer: Alexander F Rødseth 
+# Contributor: Det 
 # Contributor: Godane aka Christopher Rogers 
 # Contributor: Michai Coman 
 
 pkgname=unetbootin
 pkgver=619
-pkgrel=1
+pkgrel=2
 arch=('x86_64' 'i686')
 license=('GPL')
 pkgdesc='Create bootable Live USB drives'
@@ -15,7 +15,6 @@
 makedepends=('setconf' 'git')
 optdepends=('polkit: run unetbootin directly from menu'
 'zenity: display an error if no authentication agent is found')
-install="$pkgname.install"
 source=("git://github.com/$pkgname/$pkgname.git#tag=$pkgver"
 'org.archlinux.pkexec.unetbootin.policy'
 'unetbootin_polkit.sh'

Deleted: unetbootin.install
===
--- unetbootin.install  2016-05-23 18:06:51 UTC (rev 176146)
+++ unetbootin.install  2016-05-23 18:16:33 UTC (rev 176147)
@@ -1,13 +0,0 @@
-post_install() {
-  xdg-icon-resource forceupdate
-}
-
-post_upgrade() {
-  post_install
-}
-
-post_remove() {
-  post_install
-}
-
-# vim:set ts=2 sw=2 et:


[arch-commits] Commit in unetbootin/trunk (PKGBUILD unetbootin.install)

2013-03-16 Thread Alexander Rødseth
Date: Saturday, March 16, 2013 @ 22:09:32
  Author: arodseth
Revision: 86428

Applied changes from FS#34166. Now uses guisu.

Modified:
  unetbootin/trunk/PKGBUILD
  unetbootin/trunk/unetbootin.install

+
 PKGBUILD   |   10 --
 unetbootin.install |7 +++
 2 files changed, 7 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-03-16 20:57:42 UTC (rev 86427)
+++ PKGBUILD2013-03-16 21:09:32 UTC (rev 86428)
@@ -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' 'guisu')
+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')
@@ -25,16 +26,13 @@
   lrelease $pkgname.pro
   qmake
   make
-
-  echo '#!/bin/sh'  $pkgname.sh
-  echo 'pkexec /usr/bin/unetbootin.elf'  $pkgname.sh
 }
 
 package() {
   cd $srcdir
 
   install -Dm755 $pkgname $pkgdir/usr/bin/$pkgname.elf
-  install -Dm755 $pkgname.sh $pkgdir/usr/bin/$pkgname
+  ln -s /usr/bin/guisu $pkgdir/usr/bin/$pkgname
 
   mkdir -p $pkgdir/usr/share/$pkgname
   install -m644 $pkgname_*.qm $pkgdir/usr/share/$pkgname/

Modified: unetbootin.install
===
--- unetbootin.install  2013-03-16 20:57:42 UTC (rev 86427)
+++ unetbootin.install  2013-03-16 21:09:32 UTC (rev 86428)
@@ -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:



[arch-commits] Commit in unetbootin/trunk (PKGBUILD unetbootin.install)

2013-01-24 Thread Alexander Rødseth
Date: Thursday, January 24, 2013 @ 16:29:09
  Author: arodseth
Revision: 82831

pkexec fix + message

Modified:
  unetbootin/trunk/PKGBUILD
  unetbootin/trunk/unetbootin.install

+
 PKGBUILD   |   12 ++--
 unetbootin.install |3 +++
 2 files changed, 9 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-01-24 15:25:20 UTC (rev 82830)
+++ PKGBUILD2013-01-24 15:29:09 UTC (rev 82831)
@@ -6,18 +6,16 @@
 
 pkgname=unetbootin
 pkgver=583
-pkgrel=1
+pkgrel=3
 arch=('x86_64' 'i686')
 license=('GPL')
 pkgdesc='Create bootable Live USB drives'
-url=http://unetbootin.sourceforge.net/;
-depends=('syslinux' 'p7zip' 'qt' 'mtools' 'xorg-xmessage' 'desktop-file-utils' 
'gtk-update-icon-cache' 'polkit')
+url='http://unetbootin.sourceforge.net/'
+depends=('syslinux' 'p7zip' 'qt' 'mtools' 'xorg-xmessage' 'desktop-file-utils' 
'gtk-update-icon-cache' 'polkit' 'polkit-gnome')
 install=$pkgname.install
 
source=(http://downloads.sourceforge.net/project/$pkgname/UNetbootin/$pkgver/$pkgname-source-$pkgver.tar.gz;
-$pkgname.sh
 'org.archlinux.pkexec.unetbootin.policy')
 sha256sums=('0fba985a6d4a7a4c388cb99d100cb46fbd9bbae831501ad887a8d5f148a24029'
-'77cd9824c4aecf668ce8b53418d7ac9ebb191b4a592c9ba9d2e430545476cb01'
 '4de02f754f86707c92d20b1c7cfda323893d3d4ed54047b06c036588e677a87c')
 
 build() {
@@ -27,6 +25,9 @@
   lrelease $pkgname.pro
   qmake
   make
+
+  echo '#!/bin/sh'  $pkgname.sh
+  echo 'pkexec /usr/bin/unetbootin.elf'  $pkgname.sh
 }
 
 package() {
@@ -34,7 +35,6 @@
 
   install -Dm755 $pkgname $pkgdir/usr/bin/$pkgname.elf
   install -Dm755 $pkgname.sh $pkgdir/usr/bin/$pkgname
-  #ln -s /usr/bin/ponysu $pkgdir/usr/bin/$pkgname
 
   mkdir -p $pkgdir/usr/share/$pkgname
   install -m644 $pkgname_*.qm $pkgdir/usr/share/$pkgname/

Modified: unetbootin.install
===
--- unetbootin.install  2013-01-24 15:25:20 UTC (rev 82830)
+++ unetbootin.install  2013-01-24 15:29:09 UTC (rev 82831)
@@ -1,6 +1,9 @@
 post_install() {
   gtk-update-icon-cache -q -f -t /usr/share/icons/hicolor
   update-desktop-database -q
+  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() {