summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
Diffstat (limited to 'abs')
-rw-r--r--abs/core/urlgrabber/PKGBUILD19
1 files changed, 11 insertions, 8 deletions
diff --git a/abs/core/urlgrabber/PKGBUILD b/abs/core/urlgrabber/PKGBUILD
index 070c387..1d41543 100644
--- a/abs/core/urlgrabber/PKGBUILD
+++ b/abs/core/urlgrabber/PKGBUILD
@@ -1,15 +1,18 @@
pkgname=urlgrabber
-pkgver=3.1.0
-pkgrel=2
+pkgver=3.9.1
+pkgrel=1
pkgdesc="A high-level cross-protocol url-grabber and Python library"
-url="http://linux.duke.edu/projects/urlgrabber/"
+url="http://urlgrabber.baseurl.org/"
license=('LGPL')
arch=('i686' 'x86_64')
-depends=('python')
+depends=('python2')
provides=(python-urlgrabber)
-source=(http://linux.duke.edu/projects/urlgrabber/download/urlgrabber-$pkgver.tar.gz)
+source=("${url}/download/urlgrabber-${pkgver}.tar.gz")
build() {
- cd $startdir/src/$pkgname-$pkgver
- python setup.py install --prefix=$startdir/pkg/usr || return 1
+ cd ${srcdir}/${pkgname}-${pkgver}
+ python2 setup.py install --prefix=${pkgdir}/usr || return 1
+
+ find "$pkgdir/" -name '*.py' | \
+ xargs sed -i "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|"
}
-md5sums=('2a92d8ce0d89c5e772a98e9b8dcd5b73')
+md5sums=('00c8359bf71062d0946bacea521f80b4')