# Template file for 'jdupes'
pkgname=jdupes
version=1.31.1
revision=1
build_style=gnu-makefile
make_build_args="ENABLE_BTRFS=1 ENABLE_DEDUPE=1"
make_use_env=yes
makedepends="libjodycode-devel"
short_desc="Powerful duplicate file finder and an enhanced fork of fdupes"
maintainer="cinerea0 <cinerea0@protonmail.com>"
license="MIT"
homepage="https://www.jdupes.com/"
changelog="https://codeberg.org/jbruchon/jdupes/raw/branch/master/CHANGES.txt"
distfiles="https://codeberg.org/jbruchon/jdupes/archive/v${version}.tar.gz"
checksum=c80d4c1deb03cc891a7e938f886952cfc480b8a0bc48baf21b312d350b62d8e3

post_install() {
	vlicense LICENSE.txt
}

do_check() {
	./jdupes -v | grep 'Compile-time feature flags:.*dedup'
}
