Advertisement
Guest User

[ZEROINSTALL-INJECTOR] By SpepS

a guest
Oct 20th, 2010
275
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement