mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-26 15:22:15 +08:00
21 lines
588 B
Bash
21 lines
588 B
Bash
# Maintainer: Ernesto Manríquez <alejandronova@gmail.com>
|
|
|
|
pkgname=python2-httplib2
|
|
_pkgname=httplib2
|
|
pkgver=0.9
|
|
pkgrel=1
|
|
pkgdesc="A comprehensive HTTP client library"
|
|
arch=('x86_64')
|
|
url="https://github.com/jcgregorio/httplib2"
|
|
license=('MIT')
|
|
depends=('python2')
|
|
replaces=('python-httplib2')
|
|
source=("https://github.com/jcgregorio/$_pkgname/archive/v$pkgver.tar.gz")
|
|
md5sums=('5fd16fb863d33dca000b2590f75e5ed7')
|
|
|
|
package() {
|
|
cd "$srcdir/$_pkgname-$pkgver"
|
|
python2 setup.py install --prefix=/usr -O2 --root="$pkgdir"
|
|
chmod 644 $pkgdir/usr/lib/python2.7/site-packages/httplib2/*
|
|
}
|