diff options
author | Michael Hanson <hansonorders@verizon.net> | 2010-11-19 03:30:02 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verizon.net> | 2010-11-19 03:30:02 (GMT) |
commit | 1869d65dc2564fc6426dc3b9ab51e02336644bfb (patch) | |
tree | 6d12240f070bfdab67043f63a98c34c9ef557907 /abs/core/urlgrabber/PKGBUILD | |
parent | 0e5186e2765451e6033a4bdd93eb85d22d72b973 (diff) | |
download | linhes_pkgbuild-1869d65dc2564fc6426dc3b9ab51e02336644bfb.zip linhes_pkgbuild-1869d65dc2564fc6426dc3b9ab51e02336644bfb.tar.gz linhes_pkgbuild-1869d65dc2564fc6426dc3b9ab51e02336644bfb.tar.bz2 |
urlgrabber: upgrade
Diffstat (limited to 'abs/core/urlgrabber/PKGBUILD')
-rw-r--r-- | abs/core/urlgrabber/PKGBUILD | 19 |
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') |