summaryrefslogtreecommitdiff
path: root/community/unetbootin/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-10-05 23:14:45 +0000
committerroot <root@rshg054.dnsready.net>2011-10-05 23:14:45 +0000
commit068f1f30c0bba25b6b88cefbe982a72535fa1951 (patch)
tree1cbc872f02ee675155a7dc79fc637b4f2ed7e5e8 /community/unetbootin/PKGBUILD
parent3567a49f79d2dbf828b723ab54982fa6c7ea1c80 (diff)
Wed Oct 5 23:14:44 UTC 2011
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
+}