* [gentoo-commits] repo/proj/guru:master commit in: app-doc/anarchism/
@ 2021-08-07 17:48 Florian Schmaus
0 siblings, 0 replies; only message in thread
From: Florian Schmaus @ 2021-08-07 17:48 UTC (permalink / raw
To: gentoo-commits
commit: 6c82bd8f95913720b420a383bd1dc4a2488b9c8c
Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
AuthorDate: Sat Aug 7 17:30:36 2021 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sat Aug 7 17:41:25 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6c82bd8f
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 <AT> tastytea.de>
app-doc/anarchism/Manifest | 1 +
app-doc/anarchism/anarchism-15.3.ebuild | 36 +++++++++++++++++++++++++++++++++
app-doc/anarchism/metadata.xml | 16 +++++++++++++++
3 files changed, 53 insertions(+)
diff --git a/app-doc/anarchism/Manifest b/app-doc/anarchism/Manifest
new file mode 100644
index 000000000..ad4d8e8cb
--- /dev/null
+++ b/app-doc/anarchism/Manifest
@@ -0,0 +1 @@
+DIST anarchism-15.3.tar.gz 8160295 BLAKE2B 522a2314e6c208a258104412b7620061f952c1a969a11a432cc14bc1a7037d89e0953e82033a9811d461831f9f30c9d0e1924b94e3b8e7deb33e44578ce3f80b SHA512 e0df7ddb8b042eceebf701ec7f8ff9344dc8abefbf2d13f9cf6615c06ff1250f0398ecc281f7c9e77ca49a15f86f04dfdd2f8ad50dc2062223df1c4231736046
diff --git a/app-doc/anarchism/anarchism-15.3.ebuild b/app-doc/anarchism/anarchism-15.3.ebuild
new file mode 100644
index 000000000..cc6c06aa3
--- /dev/null
+++ b/app-doc/anarchism/anarchism-15.3.ebuild
@@ -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"
+}
diff --git a/app-doc/anarchism/metadata.xml b/app-doc/anarchism/metadata.xml
new file mode 100644
index 000000000..56c89ccd1
--- /dev/null
+++ b/app-doc/anarchism/metadata.xml
@@ -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>
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-08-07 17:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-07 17:48 [gentoo-commits] repo/proj/guru:master commit in: app-doc/anarchism/ Florian Schmaus
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox