public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/unfoo/
Date: Tue, 27 Dec 2022 12:14:57 +0000 (UTC)	[thread overview]
Message-ID: <1672143290.55d06687a5a2e82ddf8502d7d36dfa0721849aca.sam@gentoo> (raw)

commit:     55d06687a5a2e82ddf8502d7d36dfa0721849aca
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 27 12:14:04 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Dec 27 12:14:50 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55d06687

app-misc/unfoo: adapt to app-alternatives/{bzip2,gzip}

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-misc/unfoo/unfoo-1.0.8-r1.ebuild | 45 ++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

diff --git a/app-misc/unfoo/unfoo-1.0.8-r1.ebuild b/app-misc/unfoo/unfoo-1.0.8-r1.ebuild
new file mode 100644
index 000000000000..14b1f01e3574
--- /dev/null
+++ b/app-misc/unfoo/unfoo-1.0.8-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="A simple bash driven frontend to simplify decompression of files"
+HOMEPAGE="http://obsoleet.org/code/unfoo"
+SRC_URI="https://github.com/jlec/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 ~s390 x86 ~amd64-linux ~x86-linux"
+IUSE="+minimal test"
+RESTRICT="!test? ( test )"
+
+COMMON_DEPS="
+	app-alternatives/bzip2
+	app-alternatives/gzip
+	app-arch/p7zip
+	|| (
+		app-arch/rar
+		app-arch/unrar
+	)
+	app-arch/unace
+	app-arch/unzip
+	app-arch/xz-utils"
+RDEPEND="!minimal? ( ${COMMON_DEPS} )"
+DEPEND="test? ( ${COMMON_DEPS} )"
+
+src_compile() { :; }
+
+src_install() {
+	dodoc README*
+	dobin ${PN}
+}
+
+pkg_postinst() {
+	if [[ -z ${REPLACING_VERSIONS} ]]; then
+		echo
+		elog "unfoo can handle far more than just .tar*, but it requires some"
+		elog "optional packages to do so. For a list, either consult the source"
+		elog "(less /usr/bin/unfoo), or see http://obsoleet.org/code/unfoo"
+		elog "To get full support please use USE=-minimal"
+	fi
+}


             reply	other threads:[~2022-12-27 12:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-27 12:14 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-12-07 18:58 [gentoo-commits] repo/gentoo:master commit in: app-misc/unfoo/ Ulrich Müller
2022-12-28  0:33 Sam James
2022-12-27 19:53 Sam James
2022-12-27 12:14 Sam James
2020-02-06  0:04 Sergei Trofimovich
2017-08-21  7:54 Daniel Campbell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1672143290.55d06687a5a2e82ddf8502d7d36dfa0721849aca.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox