app-misc/nonsense: initial import

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2021-06-29 09:17:45 +02:00
parent 2cbbc11c96
commit edad1b319a
3 changed files with 43 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST nonsense-0.6.tar.gz 125943 BLAKE2B 6037d8c052e3ff58ff29a7c5e9b31129020acf85f73724be82932b519069a04c0fc0a6e5773a304734dcd51c042acf00a1c6ad7c9afb4c9eb7bba19a6f460ffc SHA512 022d3d4c5535da7bc67b28259f95a99ca52cf71dd3cca36993f77d3175f37384caa3f387e4ddd3d3c27ee5000c86f574680365e8249d74375688508f64228d67

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<longdescription lang="en">
Nonsense generates random (and sometimes humorous) text from datafiles and
templates using a very simple, recursive grammar. It's like having a million
monkeys sitting in front of a million typewriters, without having to feed or
clean up after them. From fake Slashdot headlines to absurd college courses to
buzzword bingo cards, Nonsense is a good way to waste time.
Whether this program has any practical applications is open to debate. I use it
to produce the names for characters and places in the fake news articles I
write for Humorix. You might be able to use it as an alternative to fortune(6)
or as a way to add random content to your website.
</longdescription>
<upstream>
<remote-id type="sourceforge">nonsense</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,19 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Generates random text from datafiles and templates"
HOMEPAGE="https://nonsense.sourceforge.net"
SRC_URI="mirror://sourceforge/nonsense/nonsense-${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
src_install() {
dobin nonsense
dodoc README CHANGELOG
insinto /usr/share/nonsense
doins *.data *.html *.template
}