This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Saleem

By: a guest on Oct 22nd, 2010  |  syntax: None  |  size: 0.68 KB  |  views: 100  |  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. # Contributor: Stefano Esposito <ragnarok@email.it>
  2.  
  3. pkgname=gtkpacman
  4. pkgver=2.3.1
  5. pkgrel=1
  6. pkgdesc="GTK package manager for archlinux based on pacman"
  7. url="http://gtkpacman.berlios.de"
  8. license=("GPL")
  9. arch=("i686" "x86_64")
  10. depends=('pygtk' 'vte')
  11. source=("http://download.berlios.de/$pkgname/$pkgname-$pkgver.tar.bz2")
  12. md5sums=('0f9d98217d5b95ae8c9af27154561c93')
  13.  
  14. build () {
  15.         cd $startdir/src/$pkgname-$pkgver
  16.  
  17.     # python2 fix
  18.     for file in $(find . -name '*.py' -print); do
  19.     sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $file
  20.     sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
  21.     done
  22.         python2 setup.py install --root=$startdir/pkg
  23. }
clone this paste RAW Paste Data