blob: 6a5ba505ee3dbdb54feb387bef8e4fd7a6d796cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# Maintainer: Matt Harrison <matt@harrison.us.com>
# Contributor: Chris Brannon <cmbrannon79@gmail.com>
# Contributor: Pat Rondon <pmr@@patrondon.org>
pkgname=urlgrabber
pkgver=3.10.2
pkgrel=1
pkgdesc="A high-level cross-protocol url-grabber and Python library"
url="http://urlgrabber.baseurl.org/"
license=('LGPL')
arch=(any)
depends=(python2 python2-pycurl)
source=(http://$pkgname.baseurl.org/download/$pkgname-$pkgver.tar.gz)
sha256sums=('53691185e3d462bb0fa8db853a205ee79cdd4089687cddd22cabb8b3d4280142')
package() {
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
}
|