1 # Maintainer: Dan Serban
2 # Contributor: Todd Partridge (Gen2ly)
4 pkgname=live-usb-system-creator
7 pkgdesc="Create a live/bootable USB from a Ubuntu CD/DVD ISO"
9 url=https://launchpad.net/liveusb
11 depends=('gksu' 'libglade' 'python2' 'pygtk' 'syslinux' 'util-linux' 'dbus-python')
12 install='live-usb-system-creator.install'
13 source=(http://ppa.launchpad.net/probono/ubuntu/pool/main/l/liveusb/liveusb_${pkgver}.tar.gz)
14 md5sums=('ad845dddc933cb0771c369fd5bb0fafd')
18 # Automount bug, gnome-volume-manager is not needed anyway
19 sed -i -e "s/ mgr = gnomeauto/# mgr = gnomeauto/g" main/usr/share/python-support/liveusb/liveusb.py
22 sed -i "s#/usr/bin/python #/usr/bin/python2 #" "$pkgdir/usr/bin/liveusb"
23 sed -i "s|#![ ]*/usr/bin/env python$|#!/usr/bin/python2|" $(find $pkgdir -name '*.py')