diff options
Diffstat (limited to 'community/unetbootin')
-rw-r--r-- | community/unetbootin/PKGBUILD | 46 | ||||
-rw-r--r-- | community/unetbootin/unetbootin.install | 14 | ||||
-rw-r--r-- | community/unetbootin/unetbootin.sh | 24 |
3 files changed, 0 insertions, 84 deletions
diff --git a/community/unetbootin/PKGBUILD b/community/unetbootin/PKGBUILD deleted file mode 100644 index 6f068c62d..000000000 --- a/community/unetbootin/PKGBUILD +++ /dev/null @@ -1,46 +0,0 @@ -# $Id: PKGBUILD 75751 2012-08-30 19:02:00Z arodseth $ -# Maintainer: Alexander Rødseth <rodseth@gmail.com> -# Contributor: Det <nimetonmaili at gmail a-dot com> -# Contributor: Godane aka Christopher Rogers <slaxemulator@gmail.com> - -pkgname=unetbootin -pkgver=581 -pkgrel=1 -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') -optdepends=('gksu: GUI authentication' - 'kdebase-runtime: GUI authentication') -install=$pkgname.install -source=("http://downloads.sourceforge.net/project/$pkgname/UNetbootin/$pkgver/$pkgname-source-$pkgver.tar.gz" - "$pkgname.sh") -sha256sums=('b8bf5972653c023c159358f0e4c743dfaf1c6c27f28fd15cd97739d08c751509' - 'c35329011559288b964cc4c927c969fe35cb8cb3f88020583affe359fc72de10') - -build() { - cd "$srcdir" - - lupdate "$pkgname.pro" - lrelease "$pkgname.pro" - qmake - make -} - -package() { - cd "$srcdir" - - install -Dm755 "$pkgname.sh" "$pkgdir/usr/bin/$pkgname" - install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname.elf" - 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 -} - -# vim:set ts=2 sw=2 et: diff --git a/community/unetbootin/unetbootin.install b/community/unetbootin/unetbootin.install deleted file mode 100644 index f95667aa4..000000000 --- a/community/unetbootin/unetbootin.install +++ /dev/null @@ -1,14 +0,0 @@ -post_install() { - gtk-update-icon-cache -q -f -t /usr/share/icons/hicolor - update-desktop-database -q -} - -post_upgrade() { - post_install -} - -post_remove() { - post_install -} - -# vim:set ts=2 sw=2 et: diff --git a/community/unetbootin/unetbootin.sh b/community/unetbootin/unetbootin.sh deleted file mode 100644 index a6c8969b6..000000000 --- a/community/unetbootin/unetbootin.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/sh -# wrapper script for starting unetbootin with root permissions -ELF=/usr/bin/unetbootin.elf -if [ -e /usr/bin/pkexec ]; then - pkexec $ELF && exit 0 -fi -if [ -z "$KDE_FULL_SESSION" ]; then - if [ -e /usr/bin/gksudo ]; then - gksudo $ELF && exit 0 - fi - if [ -e /usr/bin/gksu ]; then - gksu $ELF && exit 0 - fi - echo "Could not use pkexec, gksudo or gksu" - $ELF && exit 0 || exit 1 -fi -if [ -e /usr/bin/kdesudo ]; then - kdesudo $ELF && exit 0 -fi -if [ -e /usr/bin/kdesu ]; then - kdesu $ELF && exit 0 -fi -echo "Could not use kdesudo or kdesu" -$ELF && exit 0 || exit 1 |