app-doc/anarchism - 15.3 (guru)

Search

Install

Install this version:

emerge -a =app-doc/anarchism-15.3

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =app-doc/anarchism-15.3

Or alternatively:

emerge --autounmask-write -a =app-doc/anarchism-15.3

Package Information

Description:
An anarchist FAQ
Homepage:
http://www.anarchistfaq.org/afaq/index.html
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
15.3 8 ~amd64 0
View Raw Ebuild
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit desktop

DEBIAN_VERSION="${PV}-3"

DESCRIPTION="An anarchist FAQ"
HOMEPAGE="http://www.anarchistfaq.org/afaq/index.html"
SRC_URI="https://salsa.debian.org/debian/anarchism/-/archive/debian/${DEBIAN_VERSION}/anarchism-debian-${DEBIAN_VERSION}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-debian-${DEBIAN_VERSION}"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"

src_prepare() {
	sed -Ei "s|file://(/usr/share/doc/)anarchism|file://${EPREFIX}\1${P}|" \
		debian/anarchism.desktop || die

	default
}

src_install() {
	dodoc -r html markdown README.md
	domenu debian/anarchism.desktop
	doicon debian/anarchism.svg
}

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"
}

Inherited Eclasses

Manifest for 15.3

Type File Size Source URLs
DIST anarchism-15.3.tar.gz 8160295 bytes https://salsa.debian.org/debian/anarchism/-/archive/debian/15.3-3/anarchism-debian-15.3-3.tar.gz