Skip to content

Commit

Permalink
app-misc/jdupes: bump to v1.20.2
Browse files Browse the repository at this point in the history
Signed-off-by: Jakov Petrina <[email protected]>
Closes: gentoo#22815
Signed-off-by: Jakov Smolić <[email protected]>
  • Loading branch information
jpetrina authored and jsmolic committed Nov 4, 2021
1 parent 5adcc89 commit f281fb4
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
1 change: 1 addition & 0 deletions app-misc/jdupes/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DIST jdupes-1.20.1.tar.gz 94064 BLAKE2B d2707549a64d51c2c17c418297b631ce26242d31e464848bf13bcd05fe7ec27cde3d3ba4a4b0a0c0b77bf336a7d626aa41ff241f3cdf16cde3d72484df2e55dc SHA512 992ae086b3b13ab001e3367823d8c43645b66a4134ce3211dfaed9c611bc460370e18f1b45905ce57d285174e17ef734b8d597d8d352869f1dc2094c32fcbe93
DIST jdupes-1.20.2.tar.gz 94319 BLAKE2B 1c24c0e4176b2be56c4d1a7a780a7f2aaa080d5527ef2e96febd230ea18abe016fca2769e3c72d1b2a295fa663ff69f8dc531d3f728ac00858d5f7d4ff6949bd SHA512 21deb839d4f7e072ce08bacc6b595ac9ccd4ac6fac538d0aab69a4c12ac3d3bb5c98cd03eab9415e991ec9cdfaec7548656470e85c148528f4890b21f7223714
37 changes: 37 additions & 0 deletions app-misc/jdupes/jdupes-1.20.2.ebuild
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit f281fb4

Please sign in to comment.