summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--abs/core/python_modules/urlgrabber/PKGBUILD19
1 files changed, 11 insertions, 8 deletions
diff --git a/abs/core/python_modules/urlgrabber/PKGBUILD b/abs/core/python_modules/urlgrabber/PKGBUILD
index f82aa85..77f188e 100644
--- a/abs/core/python_modules/urlgrabber/PKGBUILD
+++ b/abs/core/python_modules/urlgrabber/PKGBUILD
@@ -1,18 +1,21 @@
-# $Id: PKGBUILD 66686 2012-02-27 11:56:32Z cbrannon $
+# $Id$
# Maintainer: Chris Brannon <cmbrannon79@gmail.com>
# Contributor: Pat Rondon <pmr@@patrondon.org>
+
pkgname=urlgrabber
-pkgver=3.9.1
-pkgrel=3
+pkgver=3.10.1
+pkgrel=2
pkgdesc="A high-level cross-protocol url-grabber and Python library"
url="http://urlgrabber.baseurl.org/"
license=('LGPL')
arch=(any)
-depends=(python2 python-pycurl)
+depends=(python2 python2-pycurl)
source=(http://$pkgname.baseurl.org/download/$pkgname-$pkgver.tar.gz)
+md5sums=('1f5dc63805623cc473e06204fd240bb2')
package() {
- cd "$srcdir/$pkgname-$pkgver"
- python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
- }
-md5sums=('00c8359bf71062d0946bacea521f80b4')
+ cd "$srcdir/$pkgname-$pkgver"
+ sed -i 's/libexec/lib/' setup.py urlgrabber/grabber.py
+ sed -i '1s/python/&2/' scripts/urlgrabber-ext-down
+ python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+}