Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Oct 25th, 2010  |  syntax: Bash  |  size: 1.07 KB  |  views: 110  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: Jacco Koning <archlinux@menollo.nl>, with help from qwak
  2.  
  3. pkgname=usb-creator
  4. pkgver=0.2.22
  5. pkgrel=3
  6. pkgdesc="$pkgname, This is a simple utility designed to make bootable USB desktop images from Ubuntu CDs. "
  7. arch=('i686' 'x86_64')
  8. url="http://packages.ubuntu.com/karmic/usb-creator"
  9. license=('GPL3')
  10. depends=('gksu' 'parted' 'python' 'glade' 'libglade' 'pygtk' 'syslinux' 'python-distutils-extra' 'gnome-python' 'dbus-python' 'cdrkit' 'mtools')
  11. makedepends=('python')
  12. source=(http://archive.ubuntu.com/ubuntu/pool/main/u/usb-creator/usb-creator_$pkgver.tar.gz  patch)
  13. md5sums=('ee2f320fe166d59f57c730998ab7febd'
  14.          'fe707ceebe53333307e3884506ba0a45')
  15.  
  16. build() {
  17.     src_prog_dir=usb-creator.trunk
  18.     cd $srcdir/$src_prog_dir/
  19.     patch -p0  < ../patch || return 1
  20.     python2 setup.py install --root=$pkgdir
  21.  
  22.     mkdir $pkgdir/usr/share/usb-creator/ -p
  23.     cp $srcdir/$src_prog_dir/gui/* $pkgdir/usr/share/usb-creator/
  24.  
  25.     mkdir $pkgdir/usr/share/pixmaps/ -p
  26.     cp $srcdir/$src_prog_dir/desktop/usb-creator-gtk.png $pkgdir/usr/share/pixmaps/
  27.  
  28. }
clone this paste RAW Paste Data