# Template file for 'jdupes'
pkgname=jdupes
version=1.21.3
revision=1
build_style=gnu-makefile
make_build_args="ENABLE_BTRFS=1"
short_desc="Powerful duplicate file finder and an enhanced fork of fdupes"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/jbruchon/jdupes"
changelog="https://raw.githubusercontent.com/jbruchon/jdupes/master/CHANGES"
distfiles="https://github.com/jbruchon/jdupes/archive/refs/tags/v${version}.tar.gz"
checksum=8992d0ff1fe135c685063ce3c9d69d54f1f19f1b32845e84441f888218063cc0

CFLAGS="-DENABLE_DEDUPE"

post_install() {
	vlicense LICENSE
}

do_check() {
	./jdupes -v | grep 'Compile-time extensions:.*fsdedup'
}
