# Template file for 'jdupes'
pkgname=jdupes
version=1.25.3
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.txt"
distfiles="https://github.com/jbruchon/jdupes/archive/refs/tags/v${version}.tar.gz"
checksum=89814310bb1884db6023436c523d03e405e1dda722a01caa336167e7938ac95e

post_install() {
	vlicense LICENSE.txt
}

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