summaryrefslogtreecommitdiff
path: root/app-misc/jdupes
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/jdupes')
-rw-r--r--app-misc/jdupes/Manifest4
-rw-r--r--app-misc/jdupes/jdupes-1.20.0.ebuild37
-rw-r--r--app-misc/jdupes/jdupes-9999.ebuild37
-rw-r--r--app-misc/jdupes/metadata.xml15
4 files changed, 93 insertions, 0 deletions
diff --git a/app-misc/jdupes/Manifest b/app-misc/jdupes/Manifest
new file mode 100644
index 000000000000..d7abd35f6e72
--- /dev/null
+++ b/app-misc/jdupes/Manifest
@@ -0,0 +1,4 @@
+DIST jdupes-1.20.0.tar.gz 93809 BLAKE2B cce6ca06794ee3af9523e3c86550ff2b49a5f42a13278bd61c99099b4c2cab1a392bc973c44593acb23b7e8f99d4f23518f526244182a0d9d3b4084e80cc1015 SHA512 62bb78a902e77f0c9acce93c7c139fc2aaa5911aa85322a372dd0e6b375ee5c4992e91b821fa3f9eb407820657f57591303c9bc14a9fe453d9a4c5651caf05ff
+EBUILD jdupes-1.20.0.ebuild 776 BLAKE2B 48fe263aa0ced74f6b506af656ec2e4f23b08f67d84374af444749dc113004f11acdadc41dd23f38b709ed351eabcd16918902046cd264e0c1402f2efb481914 SHA512 b19b6acc2bd9b1c888a636b48a4ad6c9dde4889771460823e4e916489a973f18686e03b421c68b33ef9e61f0da96b24d80c9358041ca9685dea2fa66c5abd814
+EBUILD jdupes-9999.ebuild 776 BLAKE2B 48fe263aa0ced74f6b506af656ec2e4f23b08f67d84374af444749dc113004f11acdadc41dd23f38b709ed351eabcd16918902046cd264e0c1402f2efb481914 SHA512 b19b6acc2bd9b1c888a636b48a4ad6c9dde4889771460823e4e916489a973f18686e03b421c68b33ef9e61f0da96b24d80c9358041ca9685dea2fa66c5abd814
+MISC metadata.xml 472 BLAKE2B 516816d73afd9e585ba072227c897943c45e86f7cf139858ac1768c97751b6491ca53b7232c7438e9c148c430c4e389d54f121ff71c239e3cc5c747ac49d8447 SHA512 3eae4e232c16d37e0e540a80dae26dc22c5594ce779cfce29da2173b66cfb0424d0cb808e54653f83204d2eab779ee9b64c0bc4347d84464f958c19a1a67c13d
diff --git a/app-misc/jdupes/jdupes-1.20.0.ebuild b/app-misc/jdupes/jdupes-1.20.0.ebuild
new file mode 100644
index 000000000000..681f1d0f1493
--- /dev/null
+++ b/app-misc/jdupes/jdupes-1.20.0.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
+}
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
+}
diff --git a/app-misc/jdupes/metadata.xml b/app-misc/jdupes/metadata.xml
new file mode 100644
index 000000000000..401065d65687
--- /dev/null
+++ b/app-misc/jdupes/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person" proxied="yes">
+ <email>jakov.petrina@sartura.hr</email>
+ <name>Jakov Petrina</name>
+ </maintainer>
+ <maintainer type="person" proxied="proxy">
+ <email>jsmolic@gentoo.org</email>
+ <name>Jakov Smolić</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">jbruchon/jdupes</remote-id>
+ </upstream>
+</pkgmetadata>