From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1240857-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9D34013835A for <garchives@archives.gentoo.org>; Sun, 10 Jan 2021 23:21:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D756DE0ABE; Sun, 10 Jan 2021 23:21:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BF26AE0ABE for <gentoo-commits@lists.gentoo.org>; Sun, 10 Jan 2021 23:21:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B7639340BEA for <gentoo-commits@lists.gentoo.org>; Sun, 10 Jan 2021 23:21:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D80A7497 for <gentoo-commits@lists.gentoo.org>; Sun, 10 Jan 2021 23:21:25 +0000 (UTC) From: "Conrad Kostecki" <conikost@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" <conikost@gentoo.org> Message-ID: <1610320838.4c1fbfa0b65744e96404d9bebae886481c6ef5d9.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-fps/duke3d-data/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-fps/duke3d-data/duke3d-data-1.0-r4.ebuild X-VCS-Directories: games-fps/duke3d-data/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 4c1fbfa0b65744e96404d9bebae886481c6ef5d9 X-VCS-Branch: master Date: Sun, 10 Jan 2021 23:21:25 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e1c890c0-d40b-49be-981b-6ca8b096ee3f X-Archives-Hash: 795d049fd5100d321911c433fff96bf2 commit: 4c1fbfa0b65744e96404d9bebae886481c6ef5d9 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> AuthorDate: Sun Jan 10 23:06:26 2021 +0000 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> CommitDate: Sun Jan 10 23:20:38 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c1fbfa0 games-fps/duke3d-data: drop old version Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> games-fps/duke3d-data/duke3d-data-1.0-r4.ebuild | 75 ------------------------- 1 file changed, 75 deletions(-) diff --git a/games-fps/duke3d-data/duke3d-data-1.0-r4.ebuild b/games-fps/duke3d-data/duke3d-data-1.0-r4.ebuild deleted file mode 100644 index a466c316ad8..00000000000 --- a/games-fps/duke3d-data/duke3d-data-1.0-r4.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -CDROM_OPTIONAL="yes" -inherit eutils cdrom unpacker - -GOG_FILE="gog_duke_nukem_3d_atomic_edition_2.0.0.9.sh" -DESCRIPTION="Duke Nukem 3D data files" -HOMEPAGE="http://www.3drealms.com/" -SRC_URI="gog? ( ${GOG_FILE} )" - -LICENSE="DUKE3D gog? ( GOG-EULA )" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="gog" -REQUIRED_USE="^^ ( cdinstall gog )" -RESTRICT="mirror bindist gog? ( fetch )" - -RDEPEND="games-fps/eduke32" -DEPEND="gog? ( app-arch/unzip )" - -S=${WORKDIR} - -pkg_nofetch() { - einfo "Please download ${GOG_FILE} from your GOG.com account after buying Duke Nukem 3d" - einfo "and put it into your DISTDIR directory." -} - -src_unpack() { - if use cdinstall ; then - export CDROM_NAME_SET=( - "Existing Install" - "Duke Nukem 3D CD" - "Duke Nukem 3D Atomic Edition CD" - ) - cdrom_get_cds duke3d.grp:dvd/dn3dinst/duke3d.grp:atominst/duke3d.grp - - if [[ ${CDROM_SET} -ne 0 - && ${CDROM_SET} -ne 1 - && ${CDROM_SET} -ne 2 ]] - then - die "Error locating data files."; - fi - else - unpack_zip "${DISTDIR}"/${GOG_FILE} - cd data/noarch/data || die - - # convert to lowercase - find . -type f \ - -execdir sh -c 'echo "converting ${1} to lowercase" - lower="`echo "${1}" | tr [:upper:] [:lower:]`" - [ "${1}" = "${lower}" ] || mv "${1}" "${lower}"' - {} \; - fi -} - -src_install() { - local DATAROOT - - insinto /usr/share/duke3d - - if use cdinstall ; then - case ${CDROM_SET} in - 0) DATAROOT="" ;; - 1) DATAROOT="dn3dinst/" ;; - 2) DATAROOT="atominst/" ;; - esac - - # avoid double slash - doins "${CDROM_ROOT}"/${DATAROOT}{duke3d.grp,duke.rts,game.con,user.con,demo?.dmo,defs.con} - else - doins data/noarch/data/{duke3d.grp,duke.rts,game.con,user.con,demo?.dmo,defs.con} - fi -}