updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / unetbootin / PKGBUILD
blobcc0ad06db44f6155710a5be2827b15034d7a1570
1 # Maintainer: Det <nimetonmaili at gmail a-dot com>
2 # Contributor: Godane aka Christopher Rogers <slaxemulator@gmail.com>
3 pkgname=unetbootin
4 pkgver=555
5 pkgrel=1
6 pkgdesc="Lets you create bootable Live USB drives"
7 url="http://unetbootin.sourceforge.net/"
8 license=('GPL')
9 arch=('i686' 'x86_64')
10 depends=('syslinux' 'p7zip' 'qt' 'mtools' 'libpng')
11 optdepends=('gksu: for graphically requesting the root password'
12             'kdebase-runtime: for graphically requesting the root password')
13 install=${pkgname}.install
14 source=(http://downloads.sourceforge.net/project/${pkgname}/UNetbootin/${pkgver}/${pkgname}-source-${pkgver}.tar.gz)
15 # source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-source-${pkgver}.tar.gz)
16 sha1sums=('52adee7c2bf05834d59231e6a06ff8522203f4de')
18 build() {
19   lupdate ${pkgname}.pro
20   lrelease ${pkgname}.pro
21   qmake
22   make
25 package() {
26   install -Dm755 ${pkgname} "${pkgdir}/usr/bin/${pkgname}"
27   mkdir -p "${pkgdir}/usr/share/${pkgname}"
28   install -m644 ${pkgname}_*.qm "${pkgdir}/usr/share/${pkgname}/"
29   install -Dm644 ${pkgname}.desktop "${pkgdir}/usr/share/applications/${pkgname}.desktop"
30   for i in 16x16 22x22 24x24 32x32 48x48 256x256; do
31       install -D ${pkgname}_${i/x*/}.png "${pkgdir}/usr/share/icons/hicolor/${i}/apps/${pkgname}.png"
32   done