ports/opt (master): bittorrent: added hack to install as an unprivileged user with read-only homedir
commit cc1dcd0f0e887d49e2ee78ebd95f76a306a36c87 Author: Matt Housh <jaeger@crux.nu> Date: Mon Nov 6 11:23:11 2006 -0600 bittorrent: added hack to install as an unprivileged user with read-only homedir diff --git a/bittorrent/Pkgfile b/bittorrent/Pkgfile index 8cb7329..098ddc4 100644 --- a/bittorrent/Pkgfile +++ b/bittorrent/Pkgfile @@ -12,6 +12,10 @@ source=(http://download.bittorrent.com/dl/BitTorrent-$version.tar.gz) build() { cd BitTorrent-$version :> makei18n.sh + cp BitTorrent/__init__.py{,.orig} + sed -i -e '94,95d' BitTorrent/__init__.py python setup.py install --root=$PKG rm -rf $PKG/usr/share/doc $PKG/usr/share/locale + cp -f BitTorrent/__init__.py.orig \ + $PKG/usr/lib/python2.4/site-packages/BitTorrent/__init__.py }
participants (1)
-
crux@crux.nu