#Packager: FrÃdÃric Galusik <fredg~at~salixos~dot~org>

pkgname=python-docs
pkgver=2.6.6
pkgrel=1fg
arch=noarch
source=("http://docs.python.org/ftp/python/doc/$pkgver/python-$pkgver-docs-html.tar.bz2" "python-docs.desktop" "python-docs.png")
sourcetemplate=http://people.salixos.org/fredg/packages/$pkgname/$pkgver/
url=http://python.org

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"python-docs (Official Python documentation)"
"Set of HTML documentation for the Python programming language."
)


build() {
	cd $startdir
	mkdir -p pkg/usr/doc/python-$pkgver/html
	cp -rf src/python-$pkgver-docs-html/* \
	    pkg/usr/doc/python-$pkgver/html/
	install -D -m 644 $pkgname.desktop \
	    pkg/usr/share/applications/$pkgname.desktop
	install -D -m 644 $pkgname.png \
	    pkg/usr/share/icons/hicolor/48x48/apps/$pkgname.png
}