blob: 1d4154368b09deb70a3a205a74f27d0cfe300211 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
pkgname=urlgrabber
pkgver=3.9.1
pkgrel=1
pkgdesc="A high-level cross-protocol url-grabber and Python library"
url="http://urlgrabber.baseurl.org/"
license=('LGPL')
arch=('i686' 'x86_64')
depends=('python2')
provides=(python-urlgrabber)
source=("${url}/download/urlgrabber-${pkgver}.tar.gz")
build() {
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=('00c8359bf71062d0946bacea521f80b4')
|