Ports: Add jdupes port

This commit ports the file deduplication utility `jdupes`.
This commit is contained in:
Beckett Normington 2023-07-07 12:28:19 -04:00 committed by Andrew Kaster
parent 73b5e3db6a
commit a961447dbd
2 changed files with 11 additions and 0 deletions

View file

@ -115,6 +115,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n
| [`isl`](isl/) | Integer Set Library | 0.24 | https://libisl.sourceforge.io/ |
| [`ja2`](ja2/) | Jagged Alliance 2 Stracciatella | 0.15.x | https://github.com/safarp/ja2-stracciatella/tree/0.15.x |
| [`jakt`](jakt/) | Jakt Programming Language | | https://github.com/SerenityOS/jakt |
| [`jdupes`](jdupes/) | jdupes, an enhanced fork of 'fdupes' | 1.26.1 | https://github.com/jbruchon/jdupes |
| [`jfduke3d`](jfduke3d/) | JonoF's Duke Nukem 3D Port | 41cd46b | https://github.com/jonof/jfduke3d |
| [`joe`](joe/) | joe's own editor | 4.6 | https://joe-editor.sourceforge.io/ |
| [`jot`](jot/) | jot (OpenBSD) | 6.6 | https://github.com/ibara/libpuffy |

10
Ports/jdupes/package.sh Executable file
View file

@ -0,0 +1,10 @@
#!/usr/bin/env -S bash ../.port_include.sh
port='jdupes'
version='1.26.1'
files="https://github.com/jbruchon/jdupes/archive/refs/tags/v${version}.tar.gz jdupes-${version}.tar.gz 09153824320c65ad529f8f97cd3b7e792c50e9f9018192ea1a76f2e33a196225"
auth_type='sha256'
workdir="jdupes-${version}"
depends=('libjodycode')
makeopts+=("UNAME_S=serenity")
installopts+=('DISABLE_DEDUPE=1')
export LDFLAGS="-z noexecstack"