1 # Maintainer: Simone Sclavi 'Ito' <darkhado@gmail.com>
2 # based on the unetbootin PKGBUILD
6 pkgdesc="A tool that helps you to create a bootable Live USB drive for Clonezilla live, DRBL live, GParted live and Tux2live"
7 url="http://www.tuxboot.org/"
10 source=(http://sourceforge.net/projects/${pkgname}/files/${pkgname}-${pkgver}.src.tar.gz)
11 depends=('syslinux' 'p7zip' 'qt' 'mtools' )
12 optdepends=('gksu: for graphically requesting the root password'
13 'kdebase-runtime: for graphically requesting the root password')
14 md5sums=('0f3ce403a9ddceba90ea52b0e39046bc')
18 sed -i '/^RESOURCES/d' ${pkgname}.pro
19 lupdate ${pkgname}.pro
20 lrelease ${pkgname}.pro
21 qmake "DEFINES += NOSTATIC" "RESOURCES -= tuxboot.qrc" ${pkgname}.pro
27 install -Dm755 ${pkgname} ${pkgdir}/usr/bin/${pkgname}
28 mkdir -p ${pkgdir}/usr/share/${pkgname}
29 install -m644 i18n/${pkgname}_*.qm "${pkgdir}/usr/share/${pkgname}/"
30 install -Dm644 ${pkgname}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop
31 install -Dm644 ${pkgname}.xpm ${pkgdir}/usr/share/pixmaps/${pkgname}.xpm