mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 02:52:13 +08:00
21 lines
579 B
Bash
21 lines
579 B
Bash
# Maintainer: Ernesto Manríquez <alejandronova@gmail.com>
|
|
|
|
pkgname=python2-httplib2
|
|
_pkgname=httplib2
|
|
pkgver=0.8
|
|
pkgrel=1
|
|
pkgdesc="A comprehensive HTTP client library"
|
|
arch=('any')
|
|
url="http://code.google.com/p/httplib2"
|
|
license=('MIT')
|
|
depends=('python2')
|
|
replaces=('python-httplib2')
|
|
source=("http://$_pkgname.googlecode.com/files/$_pkgname-$pkgver.tar.gz")
|
|
md5sums=('a143657998f6752be998e2ec740e7dec')
|
|
|
|
package() {
|
|
cd "$srcdir/$_pkgname-$pkgver"
|
|
python2 setup.py install --prefix=/usr -O2 --root="$pkgdir"
|
|
chmod 644 $pkgdir/usr/lib/python2.7/site-packages/httplib2/*
|
|
}
|