From 068f1f30c0bba25b6b88cefbe982a72535fa1951 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 5 Oct 2011 23:14:45 +0000 Subject: Wed Oct 5 23:14:44 UTC 2011 --- community/unetbootin/PKGBUILD | 33 +++++++++++++++++++++++++++++++++ community/unetbootin/unetbootin.install | 12 ++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 community/unetbootin/PKGBUILD create mode 100644 community/unetbootin/unetbootin.install (limited to 'community/unetbootin') 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 +# Contributor: Godane aka Christopher Rogers +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 -- cgit v1.2.3-54-g00ecf