desktop/python2-httplib2/PKGBUILD
2014-12-10 22:21:46 +00:00

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/*
}