diff options
author | root <root@rshg054.dnsready.net> | 2011-10-05 23:14:45 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-10-05 23:14:45 +0000 |
commit | 068f1f30c0bba25b6b88cefbe982a72535fa1951 (patch) | |
tree | 1cbc872f02ee675155a7dc79fc637b4f2ed7e5e8 /community/unetbootin | |
parent | 3567a49f79d2dbf828b723ab54982fa6c7ea1c80 (diff) |
Wed Oct 5 23:14:44 UTC 2011
Diffstat (limited to 'community/unetbootin')
-rw-r--r-- | community/unetbootin/PKGBUILD | 33 | ||||
-rw-r--r-- | community/unetbootin/unetbootin.install | 12 |
2 files changed, 45 insertions, 0 deletions
diff --git a/community/unetbootin/PKGBUILD b/community/unetbootin/PKGBUILD new file mode 100644 index 000000000..8f10db3a5 --- /dev/null +++ b/community/unetbootin/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 56275 2011-10-04 15:12:06Z arodseth $ +# Contributor: Det <nimetonmaili at gmail a-dot com> +# Contributor: Godane aka Christopher Rogers <slaxemulator@gmail.com> +pkgname=unetbootin +pkgver=555 +pkgrel=1 +pkgdesc="Lets you create bootable Live USB drives" +url="http://unetbootin.sourceforge.net/" +license=('GPL') +arch=('x86_64' 'i686') +depends=('syslinux' 'p7zip' 'qt' 'mtools') +optdepends=('gksu: for graphically requesting the root password' + 'kdebase-runtime: for graphically requesting the root password') +install=${pkgname}.install +source=(http://downloads.sourceforge.net/project/${pkgname}/UNetbootin/${pkgver}/${pkgname}-source-${pkgver}.tar.gz) +sha1sums=('52adee7c2bf05834d59231e6a06ff8522203f4de') + +build() { + lupdate ${pkgname}.pro + lrelease ${pkgname}.pro + qmake + make +} + +package() { + install -Dm755 ${pkgname} "${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 16x16 22x22 24x24 32x32 48x48 256x256; do + install -D ${pkgname}_${i/x*/}.png "${pkgdir}/usr/share/icons/hicolor/${i}/apps/${pkgname}.png" + done +} diff --git a/community/unetbootin/unetbootin.install b/community/unetbootin/unetbootin.install new file mode 100644 index 000000000..a09dc920d --- /dev/null +++ b/community/unetbootin/unetbootin.install @@ -0,0 +1,12 @@ +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 +}
\ No newline at end of file |