summaryrefslogtreecommitdiff
path: root/games-misc/games-envd
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /games-misc/games-envd
reinit the tree, so we can have metadata
Diffstat (limited to 'games-misc/games-envd')
-rw-r--r--games-misc/games-envd/Manifest4
-rw-r--r--games-misc/games-envd/games-envd-0.ebuild55
-rw-r--r--games-misc/games-envd/metadata.xml8
3 files changed, 67 insertions, 0 deletions
diff --git a/games-misc/games-envd/Manifest b/games-misc/games-envd/Manifest
new file mode 100644
index 000000000000..eb71cb2e7e1e
--- /dev/null
+++ b/games-misc/games-envd/Manifest
@@ -0,0 +1,4 @@
+EBUILD games-envd-0.ebuild 1331 SHA256 829d00a2f0caad4366694ceb49dda214759474f79e736a689bcfc4d8b273cb99 SHA512 1c5104bf169f506e73afcb394fc7108d3749be4fd54f449843b910c13c02f31300399d65ca0298262e1ee35eb14394030c78b8b48e05b554308290ee9219ec30 WHIRLPOOL 56c4d77dd0d87c91d09479518cab2a83e405c0095ff21fb575c6143fa96435add323cd8259b0b49010d3b741666e69783e00ab22e05de83ea5c70512ad3a5c23
+MISC ChangeLog 2453 SHA256 d5e86456fedcb1ec514f40f9899486aa0d80578e94ff48f0f57680532515eaaa SHA512 dba9ad307398179719ab6f63dd972469ec273a48799cc435a3b514fc24d7db66929885bd527695f1b1b2c7db3e2e0d867c528896bf725e60b274511aaf9af88d WHIRLPOOL c905ec790c82e9c1f8ed1fccef1836e05874e99cdbc9b5c3a28fe3ecbc038ed3b4ff955157e90e4e2a72dcb6826f2fa37e318be601fdda5b6550db8fc0282335
+MISC ChangeLog-2015 366 SHA256 a8479436ffd3476355bfd519c118c3cdd5bbc816589424e65dfcc87e6156f65c SHA512 eaa2f15751ad659b5f55d463e97f00a41529e766b6deda43843c9f8ca81d3a09387c880099f870183cc81c2a6a6deeac569f63ab1e3ce2f3d523b0d894fc4127 WHIRLPOOL 48b549f712b337f20d5ab23163cc9e965d2a8e2a7c14ca687ac4ad50e4cf7e5d73d737f9427f2b32dc1afe146665be1512c919cc66a8ce7ea085ce3cae58d9ad
+MISC metadata.xml 253 SHA256 2c95b2eb99144a3b66de17be35eebcf65e5a152a2ec2f176165bb9cd78e5394e SHA512 61c4689cbc649d84a00be211b7b5b98dd03e1d3f813eff370df549f2998cd4343f391c18b57cf20e4a8f4dd2311e3bfa04eb60f356f2bbac78f0b68f5091f254 WHIRLPOOL fd044f0a960e57257f4a15ab16f066bbfe9983e60cd5fc072e631efc7027306c612a01d7fbbf57eb08d957487a7ce1961250194653d6ed87ee23f20d631ef854
diff --git a/games-misc/games-envd/games-envd-0.ebuild b/games-misc/games-envd/games-envd-0.ebuild
new file mode 100644
index 000000000000..4cf3739f060c
--- /dev/null
+++ b/games-misc/games-envd/games-envd-0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit multilib games
+
+DESCRIPTION="Environment file for gentoo games"
+HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Games"
+SRC_URI=""
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm arm64 hppa m68k ~mips ppc64 s390 sh x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+
+S=${WORKDIR}
+
+pkg_setup() {
+ games_pkg_setup
+ if [[ -z "${REPLACING_VERSIONS}" ]] ; then
+ if [[ -e "${EROOT%/}/etc/env.d/${GAMES_ENVD}" ]] ; then
+ einfo "removing ${EROOT%/}/etc/env.d/${GAMES_ENVD}"
+ rm "${EROOT%/}/etc/env.d/${GAMES_ENVD}" || die
+ fi
+ fi
+}
+
+src_prepare() {
+ local d libdirs
+
+ for d in $(get_all_libdirs) ; do
+ libdirs="${libdirs}:${GAMES_PREFIX}/${d}"
+ done
+
+ cat <<-EOF > ${GAMES_ENVD} || die
+ # if you don't want these added for non-games users
+ # see https://bugs.gentoo.org/show_bug.cgi?id=408615
+ LDPATH="${libdirs:1}"
+ PATH="${GAMES_BINDIR}"
+ EOF
+}
+
+src_configure() { :; }
+
+src_compile() { :; }
+
+src_install() {
+ doenvd ${GAMES_ENVD}
+ gamesowners "${ED%/}"/etc/env.d/${GAMES_ENVD}
+ gamesperms "${ED%/}"/etc/env.d/${GAMES_ENVD}
+}
+
+pkg_preinst() { :; }
+
+pkg_postinst() { :; }
diff --git a/games-misc/games-envd/metadata.xml b/games-misc/games-envd/metadata.xml
new file mode 100644
index 000000000000..26079e608bed
--- /dev/null
+++ b/games-misc/games-envd/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>