1 pkgname=live-usb-install
4 pkgdesc="LiveUSB Install - Create bootable usb sticks from a wide range of different Linux distributions"
5 url="http://live.learnfree.eu"
8 source=('http://download.learnfree.eu/lfu-usb/live-usb-install-2.3.2.tar.gz')
9 md5sums=('bc3819f81254f814b8e31c022870321e')
11 # Requires python 2.6, python-glade2, syslinux, wget, p7zip-full, unrar, hal or
12 # udev, parted, optional python-libtorrent (needed for downloading some
13 # distributions from Internet)
15 depends=('python2' 'pygtk' 'libglade' 'syslinux' 'wget' 'p7zip' 'unrar' 'udev' 'parted' 'gksu')
21 INSTALL_DIR="$PKG_DIR/usr/share"
22 REAL_INSTALL_DIR="/usr/share"
24 mkdir -p $INSTALL_DIR/pixmaps
25 mkdir -p $INSTALL_DIR/$pkgname
26 mkdir -p $INSTALL_DIR/applications
28 # quick hack to replace python with python2, TODO: make a patch for arch
29 sed -i 's!#\!/usr/bin/env python!#\!/usr/bin/env python2!g' live-usb-install.py
39 live-usb-install.glade\
47 cp logo.png $INSTALL_DIR/pixmaps/live-usb-install.png
49 # create desktop entry
50 echo -e "[Desktop Entry]\nVersion=1.0\nName=LiveUSB Install\nComment=Tool for creating Live USB drives\nCategories=Application;System;\nExec=gksu python2 /usr/share/$pkgname/live-usb-install.py\nTerminal=false\nType=Application\nName[en_US]=LiveUSB Install\nGenericName[en_US]=LiveUSB Install\nComment[en_US]=Tool for creating Live USB drives\nIcon=live-usb-install" > $INSTALL_DIR/applications/live-usb-install.desktop