diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-misc/unfoo/unfoo-1.0.8.ebuild | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-misc/unfoo/unfoo-1.0.8.ebuild')
-rw-r--r-- | app-misc/unfoo/unfoo-1.0.8.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/app-misc/unfoo/unfoo-1.0.8.ebuild b/app-misc/unfoo/unfoo-1.0.8.ebuild new file mode 100644 index 000000000000..cc38a96c3784 --- /dev/null +++ b/app-misc/unfoo/unfoo-1.0.8.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2017 Gentoo Foundation +# 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" + +COMMON_DEPS=" + || ( + app-arch/bzip2 + app-arch/lbzip2[symlink] + app-arch/pbzip2[symlink] ) + || ( + app-arch/gzip + app-arch/pigz[symlink] ) + 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" + elif [[ ${REPLACING_VERSIONS} < 1.0.7 ]]; then + elog "To get full support please use USE=-minimal" + fi +} |