mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
app-doc/anarchism: New package.
An anarchist FAQ. Uses the Debian repo as upstream, because the authors release no source files. Bug: https://bugs.gentoo.org/304413 Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
This commit is contained in:
1
app-doc/anarchism/Manifest
Normal file
1
app-doc/anarchism/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST anarchism-15.3.tar.gz 8160295 BLAKE2B 522a2314e6c208a258104412b7620061f952c1a969a11a432cc14bc1a7037d89e0953e82033a9811d461831f9f30c9d0e1924b94e3b8e7deb33e44578ce3f80b SHA512 e0df7ddb8b042eceebf701ec7f8ff9344dc8abefbf2d13f9cf6615c06ff1250f0398ecc281f7c9e77ca49a15f86f04dfdd2f8ad50dc2062223df1c4231736046
|
||||
36
app-doc/anarchism/anarchism-15.3.ebuild
Normal file
36
app-doc/anarchism/anarchism-15.3.ebuild
Normal file
@@ -0,0 +1,36 @@
|
||||
# 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"
|
||||
}
|
||||
16
app-doc/anarchism/metadata.xml
Normal file
16
app-doc/anarchism/metadata.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>gentoo@tastytea.de</email>
|
||||
<name>Ronny (tastytea) Gutbrod</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
The aim of the anarchist FAQ is to present what anarchism really stands
|
||||
for and indicate why you should become an anarchist.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<bugs-to>https://0xacab.org/ju/afaq/-/issues</bugs-to>
|
||||
</upstream>
|
||||
<stabilize-allarches/>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user