Want more features on Pastebin? Sign Up, it's FREE!
Guest

[ZEROINSTALL-INJECTOR] By SpepS

By: a guest on Oct 20th, 2010  |  syntax: None  |  size: 0.88 KB  |  views: 256  |  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: Anton Bazhenov <anton.bazhenov at gmail>
  2. # Contributor: Lone_Wolf <lonewolf@xs4all.nl>
  3. # Contributor: SpepS <dreamspepser at yahoo dot it>
  4.  
  5. pkgname=zeroinstall-injector
  6. pkgver=0.50
  7. pkgrel=1
  8. pkgdesc="A decentralised loosly-coupled secure installation system"
  9. arch=('any')
  10. url="http://zero-install.sourceforge.net/"
  11. license=('GPL2' 'LGPL')
  12. depends=('pygtk' 'gnupg' 'hicolor-icon-theme')
  13. optdepends=('xdg-utils: GNOME and KDE desktop integration')
  14. install="$pkgname.install"
  15. source=("http://downloads.sourceforge.net/zero-install/$pkgname-$pkgver.tar.bz2")
  16. md5sums=('e223721df5775f83375b711cf9be4a80')
  17.  
  18. build() {
  19.  
  20.   cd "$srcdir"/$pkgname-$pkgver
  21.  
  22.   # Python2 fixes
  23.   export PYTHON="python2"
  24.   sed -i "s_env python_&2_" `grep -rlE "env python" .`
  25.  
  26.   # Man dir fix
  27.   sed -i "s_man/_share/&_" setup.py
  28.  
  29.   python2 setup.py install --prefix=/usr --root="$pkgdir/"
  30. }
clone this paste RAW Paste Data