summaryrefslogtreecommitdiff
path: root/games-misc/fortune-mod-pqf
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /games-misc/fortune-mod-pqf
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'games-misc/fortune-mod-pqf')
-rw-r--r--games-misc/fortune-mod-pqf/Manifest3
-rw-r--r--games-misc/fortune-mod-pqf/fortune-mod-pqf-6.0.ebuild32
-rw-r--r--games-misc/fortune-mod-pqf/metadata.xml8
3 files changed, 43 insertions, 0 deletions
diff --git a/games-misc/fortune-mod-pqf/Manifest b/games-misc/fortune-mod-pqf/Manifest
new file mode 100644
index 000000000000..51ecf2f12c22
--- /dev/null
+++ b/games-misc/fortune-mod-pqf/Manifest
@@ -0,0 +1,3 @@
+DIST pqf-6.0 146363 BLAKE2B 61122f9710f010eb709064bba259d009dd5ee8f8e182827dbd08b93f0c284d0ca6d77c295df9380ae8046830eb014e502ff6fc8c6cb5bb22009ef0e749cd3839 SHA512 c38be09c945c20454cd0ca4d1a4dce18b40bae1ed2c71d093c7d9e4fb2de444425d50a35c7dad5535ed38b5ea52c6c9e8f6035221c08e0485145fc169cb9186e
+EBUILD fortune-mod-pqf-6.0.ebuild 764 BLAKE2B 10f90df2b8a04984819cd5e3623307a6ab75b9208d119dedafe04637d3ce23d046fc380ca8d92f0e87056bf8efed0eb8fb8370da93e2aba9b75f7c0e7098700b SHA512 e39f6520b7766fcf335761f24d04f49a121f35ab6db17927b4b6cfdf584192e7b26351dc34fa0ea482587e243899bf6fc572f8cb2891e5051906aa418ebac4dd
+MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118
diff --git a/games-misc/fortune-mod-pqf/fortune-mod-pqf-6.0.ebuild b/games-misc/fortune-mod-pqf/fortune-mod-pqf-6.0.ebuild
new file mode 100644
index 000000000000..6784e068849c
--- /dev/null
+++ b/games-misc/fortune-mod-pqf/fortune-mod-pqf-6.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+DESCRIPTION="Fortune database of Terry Pratchett's Discworld related quotes"
+HOMEPAGE="http://www.lspace.org/"
+SRC_URI="http://www.ie.lspace.org/ftp-lspace/words/pqf/pqf-${PV}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc64 ~s390 ~sh ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+IUSE=""
+
+DEPEND="games-misc/fortune-mod"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}
+
+src_prepare() {
+ cp "${DISTDIR}"/${A} "${S}"/pqf-${PV}
+}
+
+src_compile() {
+ uniq "pqf-${PV}" | sed 's/^$/\%/g' > pqf
+ echo "%" >> pqf
+ strfile -r pqf || die
+}
+
+src_install() {
+ insinto /usr/share/fortune
+ doins pqf pqf.dat
+}
diff --git a/games-misc/fortune-mod-pqf/metadata.xml b/games-misc/fortune-mod-pqf/metadata.xml
new file mode 100644
index 000000000000..78274e0fa550
--- /dev/null
+++ b/games-misc/fortune-mod-pqf/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+</maintainer>
+</pkgmetadata>