1 # Contributor: Helge W. Larsen <helge(a)helges.dk>
2 pkgname=usb-creator-trunk
5 pkgdesc="Ubuntu Live USB Disk Creator. Simple utility to make bootable USB pendrives with an Ubuntu live ISO CD image."
7 url="https://launchpad.net/usb-creator/"
9 depends=('dbus-python' 'gksu' 'gnome-python' 'gnome-vfs' 'parted' 'pygtk' 'syslinux' 'python-distutils-extra')
11 conflicts=('usb-creator')
12 replaces=('usb-creator')
18 bzr branch lp:usb-creator && cd usb-creator || cd usb-creator && bzr merge || return 1
20 python setup.py install --root=$pkgdir
22 mkdir -p "${pkgdir}/usr/share/man/man8/" || return 1
23 cp -drv man/usb-creator.8 "${pkgdir}/usr/share/man/man8/" || return 1
25 mkdir -p "${pkgdir}/usr/share/pixmaps/" || return 1
26 cp -drv desktop/usb-creator.png "${pkgdir}/usr/share/pixmaps/" || return 1
28 mkdir -p "${pkgdir}/usr/share/usb-creator/" || return 1
29 cp -drv gui/* scripts/* usbcreator "${pkgdir}/usr/share/usb-creator/" || return 1