diff options
author | Jakov Petrina <jakov.petrina@sartura.hr> | 2021-10-14 16:38:51 +0200 |
---|---|---|
committer | Jakov Smolić <jsmolic@gentoo.org> | 2021-10-19 12:50:24 +0200 |
commit | ef32933b0fdabfafa27e5b75840e3ff7e109f6b5 (patch) | |
tree | 89de92fe28b4fb95796d6dee5ac5eb67c70ba9d0 /app-misc/jdupes/jdupes-9999.ebuild | |
parent | sys-apps/file: Bump to version 5.41 (diff) | |
download | gentoo-ef32933b0fdabfafa27e5b75840e3ff7e109f6b5.tar.gz gentoo-ef32933b0fdabfafa27e5b75840e3ff7e109f6b5.tar.bz2 gentoo-ef32933b0fdabfafa27e5b75840e3ff7e109f6b5.zip |
app-misc/jdupes: initial import
This change introduces the jdupes package which is an improved fork of
the original fdupes package.
Closes: https://bugs.gentoo.org/637344
Signed-off-by: Jakov Petrina <jakov.petrina@sartura.hr>
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'app-misc/jdupes/jdupes-9999.ebuild')
-rw-r--r-- | app-misc/jdupes/jdupes-9999.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/app-misc/jdupes/jdupes-9999.ebuild b/app-misc/jdupes/jdupes-9999.ebuild new file mode 100644 index 000000000000..681f1d0f1493 --- /dev/null +++ b/app-misc/jdupes/jdupes-9999.ebuild @@ -0,0 +1,37 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Identify duplicate files on the filesystem" +HOMEPAGE="https://github.com/jbruchon/jdupes" +if [[ "${PV}" == *9999 ]] ; then + EGIT_REPO_URI="https://github.com/jbruchon/jdupes.git" + inherit git-r3 +else + SRC_URI="https://github.com/jbruchon/jdupes/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi +LICENSE="MIT" +SLOT="0" + +# missing test.sh script +# https://github.com/jbruchon/jdupes/issues/191 +RESTRICT="test" + +src_prepare() { + sed -i -e '/PREFIX/s/=/?=/' Makefile || die + default +} + +src_compile() { + tc-export CC + default +} + +src_install() { + emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install + einstalldocs +} |