# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="An Anarchist FAQ"

HOMEPAGE="http://www.infoshop.org/faq/pdf.html"
SRC_URI="http://ftp.de.debian.org/debian/pool/main/a/anarchism/anarchism_${PV}.orig.tar.gz"

LICENSE="FDL-1.1"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
S=${WORKDIR}/anarchism-${PV}.orig

src_install() {

 dohtml ${P}/html/*.html ${P}/html/*.gif 

}


pkg_postinst() {

 elog "If you wish to symlink the index, the path is /usr/share/doc/anarchism-${PV}/html/index.html"
 elog "For example:"
 elog "ln -s /usr/share/doc/anarchism-${PV}/html/index.html ~/Desktop/Anarchist\\ FAQ.html"
 elog "Also, please join the discussion at http://www.reddit.com/r/Anarchism"
}