diff options
Diffstat (limited to 'games-misc/fortune-mod-pqf')
-rw-r--r-- | games-misc/fortune-mod-pqf/Manifest | 3 | ||||
-rw-r--r-- | games-misc/fortune-mod-pqf/fortune-mod-pqf-6.0.ebuild | 32 | ||||
-rw-r--r-- | games-misc/fortune-mod-pqf/metadata.xml | 8 |
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> |