# $Id: PKGBUILD 69575 2012-04-19 07:12:38Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor : Rohan Dhruva (rohandhruva at gmail dot com)

pkgname=python2-docs
pkgver=2.7.3
pkgrel=1
pkgdesc="Set of HTML documentation for python."
arch=('any')
url="http://docs.python.org/"
license=('GPL')
install=python2-docs.install
options=('docs')
source=(http://docs.python.org/ftp/python/doc/$pkgver/python-$pkgver-docs-html.tar.bz2)
md5sums=('101c13d39f76fd6706aac3a9196b2f01')

build()
{
  mkdir -p $pkgdir/usr/share/doc/python2/html
  cp -rf $srcdir/python-$pkgver-docs-html/* $pkgdir/usr/share/doc/python2/html/
  find $pkgdir/usr/share/doc/python2/html/ -type f -exec chmod 0644 {} \;
  find $pkgdir/usr/share/doc/python2/html/ -type d -exec chmod 0755 {} \;
}
