# Template file for 'jdupes'
pkgname=jdupes
version=1.23.0
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://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=5fdf7646518a26fefc322d7c9a5953c61db72d96626120ffa7f18197b59153d1

post_install() {
	vlicense LICENSE
}

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