summaryrefslogtreecommitdiff
path: root/community/unetbootin/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/unetbootin/PKGBUILD')
-rw-r--r--community/unetbootin/PKGBUILD33
1 files changed, 33 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
+}