app-misc/jdupes: treeclean (moved to ::gentoo)

Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Arthur Zamarin
2021-10-24 17:37:45 +03:00
parent 0385d08f26
commit 3aac927825
4 changed files with 0 additions and 60 deletions

View File

@@ -1 +0,0 @@
DIST jdupes-1.20.0.tar.gz 93809 BLAKE2B cce6ca06794ee3af9523e3c86550ff2b49a5f42a13278bd61c99099b4c2cab1a392bc973c44593acb23b7e8f99d4f23518f526244182a0d9d3b4084e80cc1015 SHA512 62bb78a902e77f0c9acce93c7c139fc2aaa5911aa85322a372dd0e6b375ee5c4992e91b821fa3f9eb407820657f57591303c9bc14a9fe453d9a4c5651caf05ff

View File

@@ -1,10 +0,0 @@
--- ${WORKDIR}/test.sh 2021-08-14 12:44:02.609722687 -0500
+++ ${WORKDIR}/test.sh 2021-08-14 12:46:18.505023762 -0500
@@ -0,0 +1,7 @@
+#!/bin/bash
+if [[ $(./jdupes -rmq testdir) = "71 duplicate files (in 22 sets), occupying 79 KB" ]]; then
+ echo "Test successful."
+else
+ echo "Test failed."
+ exit 1
+fi

View File

@@ -1,31 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Identify and manipulate duplicate files"
HOMEPAGE="https://www.jodybruchon.com/software/#jdupes"
SRC_URI="https://github.com/jbruchon/jdupes/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
PATCHES=(
"${FILESDIR}/${P}-test.sh.patch"
)
BDEPEND="virtual/pkgconfig"
src_prepare(){
default
chmod +x test.sh || die
}
src_configure() {
sed -in 's/local//' Makefile || die
}
src_compile() {
emake
}

View File

@@ -1,18 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>alex@alexsdigital.rodeo</email>
<name>Alex Holcomb</name>
</maintainer>
<upstream>
<remote-id type="github">jbruchon/jdupes</remote-id>
<bugs-to>https://github.com/jbruchon/jdupes/issues</bugs-to>
</upstream>
<longdescription>
jdupes is a program for finding and dealing with duplicate
files. It was forked from fdupes, and intends to accomplish the
same result while adding features and being noticeably faster.
</longdescription>
</pkgmetadata>