summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Petrina <jakov.petrina@sartura.hr>2021-11-04 13:28:46 +0100
committerJakov Smolić <jsmolic@gentoo.org>2021-11-04 13:36:11 +0100
commitf281fb435ee109e5727ae75b1fdb9ac1a7caf57c (patch)
treef8bb4f623065e78b8bc07fd2fbf1a273199a8653 /app-misc/jdupes
parentdev-vcs/mercurial: version bumps (diff)
downloadgentoo-f281fb435ee109e5727ae75b1fdb9ac1a7caf57c.tar.gz
gentoo-f281fb435ee109e5727ae75b1fdb9ac1a7caf57c.tar.bz2
gentoo-f281fb435ee109e5727ae75b1fdb9ac1a7caf57c.zip
app-misc/jdupes: bump to v1.20.2
Signed-off-by: Jakov Petrina <jakov.petrina@sartura.hr> Closes: https://github.com/gentoo/gentoo/pull/22815 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'app-misc/jdupes')
-rw-r--r--app-misc/jdupes/Manifest1
-rw-r--r--app-misc/jdupes/jdupes-1.20.2.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/app-misc/jdupes/Manifest b/app-misc/jdupes/Manifest
index 4bddb0440143..325b08962691 100644
--- a/app-misc/jdupes/Manifest
+++ b/app-misc/jdupes/Manifest
@@ -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
diff --git a/app-misc/jdupes/jdupes-1.20.2.ebuild b/app-misc/jdupes/jdupes-1.20.2.ebuild
new file mode 100644
index 000000000000..681f1d0f1493
--- /dev/null
+++ b/app-misc/jdupes/jdupes-1.20.2.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
+}