Date: Saturday, October 26, 2013 @ 13:49:14
  Author: fyan
Revision: 99240

upgpkg: goagent 3.0.5-2

Modified:
  goagent/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2013-10-26 11:48:48 UTC (rev 99239)
+++ PKGBUILD    2013-10-26 11:49:14 UTC (rev 99240)
@@ -5,13 +5,14 @@
 
 pkgname=goagent
 pkgver=3.0.5
-pkgrel=1
+pkgrel=2
 pkgdesc="A gae proxy forked from gappproxy/wallproxy"
 arch=("any")
 url="http://goagent.googlecode.com";
 license=("GPL2")
-depends=('python' 'python-pyopenssl')
-optdepends=('python2: if you want to use uploader.zip to upload server')
+depends=('python2' 'python2-pyopenssl')
+optdepends=('python2-gevent: for better performance'
+            'python2-gevent-beta: for better performance')
 source=("https://github.com/goagent/goagent/archive/v$pkgver.tar.gz";
         "$pkgname.service")
 backup=('etc/goagent')
@@ -19,6 +20,8 @@
 
 package() {
   cd "$srcdir/$pkgbase-$pkgver"
+
+  sed -i -e "s|^#!/usr/bin/env python|#!/usr/bin/env python2|" local/proxy.py
   
   install -Dm755 local/proxy.py "$pkgdir/usr/share/$pkgname/local/proxy.py"
   install -Dm644 local/proxy.pac "$pkgdir/usr/share/$pkgname/local/proxy.pac"

Reply via email to