vp-build/srcpkgs/jdupes/template

24 lines
669 B
Bash

# Template file for 'jdupes'
pkgname=jdupes
version=1.21.0
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/v${version}.tar.gz"
checksum=13e56c608354f10f9314c99cf37b034dde14e6bf4a9303c77391323e2ef4f549
CFLAGS="-DENABLE_DEDUPE"
post_install() {
vlicense LICENSE
}
do_check() {
./jdupes -v | grep 'Compile-time extensions:.*fsdedup'
}