Date: Tuesday, February 19, 2013 @ 22:39:42 Author: arodseth Revision: 84559
archrelease: copy trunk to community-staging-x86_64, community-staging-i686 Added: unetbootin/repos/community-staging-i686/ unetbootin/repos/community-staging-i686/PKGBUILD (from rev 84557, unetbootin/trunk/PKGBUILD) unetbootin/repos/community-staging-i686/org.archlinux.pkexec.unetbootin.policy (from rev 84557, unetbootin/trunk/org.archlinux.pkexec.unetbootin.policy) unetbootin/repos/community-staging-i686/unetbootin.install (from rev 84557, unetbootin/trunk/unetbootin.install) unetbootin/repos/community-staging-x86_64/ unetbootin/repos/community-staging-x86_64/PKGBUILD (from rev 84557, unetbootin/trunk/PKGBUILD) unetbootin/repos/community-staging-x86_64/org.archlinux.pkexec.unetbootin.policy (from rev 84557, unetbootin/trunk/org.archlinux.pkexec.unetbootin.policy) unetbootin/repos/community-staging-x86_64/unetbootin.install (from rev 84557, unetbootin/trunk/unetbootin.install) ---------------------------------------------+ community-staging-i686/PKGBUILD | 51 ++++++++++++++++++++++++++ community-staging-i686/unetbootin.install | 17 ++++++++ community-staging-x86_64/PKGBUILD | 51 ++++++++++++++++++++++++++ community-staging-x86_64/unetbootin.install | 17 ++++++++ 4 files changed, 136 insertions(+) Copied: unetbootin/repos/community-staging-i686/PKGBUILD (from rev 84557, unetbootin/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2013-02-19 21:39:42 UTC (rev 84559) @@ -0,0 +1,51 @@ +# $Id$ +# Maintainer: Alexander Rødseth <rods...@gmail.com> +# Contributor: Det <nimetonmaili at gmail a-dot com> +# Contributor: Godane aka Christopher Rogers <slaxemula...@gmail.com> +# Contributor: Michai Coman <mi...@m1x.ro> + +pkgname=unetbootin +pkgver=583 +pkgrel=4 +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') +install=$pkgname.install +source=("http://downloads.sourceforge.net/project/$pkgname/UNetbootin/$pkgver/$pkgname-source-$pkgver.tar.gz" + 'org.archlinux.pkexec.unetbootin.policy') +sha256sums=('0fba985a6d4a7a4c388cb99d100cb46fbd9bbae831501ad887a8d5f148a24029' + '4de02f754f86707c92d20b1c7cfda323893d3d4ed54047b06c036588e677a87c') + +build() { + cd "$srcdir" + + lupdate "$pkgname.pro" + 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" + + mkdir -p "$pkgdir/usr/share/$pkgname" + install -m644 "$pkgname"_*.qm "$pkgdir/usr/share/$pkgname/" + install -Dm644 "$pkgname.desktop" \ + "$pkgdir/usr/share/applications/$pkgname.desktop" + for i in 16 22 24 32 48 256; do + install -D "${pkgname}_${i}.png" \ + "$pkgdir/usr/share/icons/hicolor/${i}x${i}/apps/$pkgname.png" + done + install -Dm644 'org.archlinux.pkexec.unetbootin.policy' \ + "$pkgdir/usr/share/polkit-1/actions/org.archlinux.pkexec.unetbootin.policy" +} + +# vim:set ts=2 sw=2 et: Copied: unetbootin/repos/community-staging-i686/org.archlinux.pkexec.unetbootin.policy (from rev 84557, unetbootin/trunk/org.archlinux.pkexec.unetbootin.policy) =================================================================== (Binary files differ) Copied: unetbootin/repos/community-staging-i686/unetbootin.install (from rev 84557, unetbootin/trunk/unetbootin.install) =================================================================== --- community-staging-i686/unetbootin.install (rev 0) +++ community-staging-i686/unetbootin.install 2013-02-19 21:39:42 UTC (rev 84559) @@ -0,0 +1,17 @@ +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() { + post_install +} + +post_remove() { + post_install +} + +# vim:set ts=2 sw=2 et: Copied: unetbootin/repos/community-staging-x86_64/PKGBUILD (from rev 84557, unetbootin/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2013-02-19 21:39:42 UTC (rev 84559) @@ -0,0 +1,51 @@ +# $Id$ +# Maintainer: Alexander Rødseth <rods...@gmail.com> +# Contributor: Det <nimetonmaili at gmail a-dot com> +# Contributor: Godane aka Christopher Rogers <slaxemula...@gmail.com> +# Contributor: Michai Coman <mi...@m1x.ro> + +pkgname=unetbootin +pkgver=583 +pkgrel=4 +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') +install=$pkgname.install +source=("http://downloads.sourceforge.net/project/$pkgname/UNetbootin/$pkgver/$pkgname-source-$pkgver.tar.gz" + 'org.archlinux.pkexec.unetbootin.policy') +sha256sums=('0fba985a6d4a7a4c388cb99d100cb46fbd9bbae831501ad887a8d5f148a24029' + '4de02f754f86707c92d20b1c7cfda323893d3d4ed54047b06c036588e677a87c') + +build() { + cd "$srcdir" + + lupdate "$pkgname.pro" + 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" + + mkdir -p "$pkgdir/usr/share/$pkgname" + install -m644 "$pkgname"_*.qm "$pkgdir/usr/share/$pkgname/" + install -Dm644 "$pkgname.desktop" \ + "$pkgdir/usr/share/applications/$pkgname.desktop" + for i in 16 22 24 32 48 256; do + install -D "${pkgname}_${i}.png" \ + "$pkgdir/usr/share/icons/hicolor/${i}x${i}/apps/$pkgname.png" + done + install -Dm644 'org.archlinux.pkexec.unetbootin.policy' \ + "$pkgdir/usr/share/polkit-1/actions/org.archlinux.pkexec.unetbootin.policy" +} + +# vim:set ts=2 sw=2 et: Copied: unetbootin/repos/community-staging-x86_64/org.archlinux.pkexec.unetbootin.policy (from rev 84557, unetbootin/trunk/org.archlinux.pkexec.unetbootin.policy) =================================================================== (Binary files differ) Copied: unetbootin/repos/community-staging-x86_64/unetbootin.install (from rev 84557, unetbootin/trunk/unetbootin.install) =================================================================== --- community-staging-x86_64/unetbootin.install (rev 0) +++ community-staging-x86_64/unetbootin.install 2013-02-19 21:39:42 UTC (rev 84559) @@ -0,0 +1,17 @@ +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() { + post_install +} + +post_remove() { + post_install +} + +# vim:set ts=2 sw=2 et: