void-packages/srcpkgs/jdupes/template

27 lines
737 B
Bash

# Template file for 'jdupes'
pkgname=jdupes
version=1.20.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=c1f728961ad8aeb074e5767367639e6b418f0ca572f70f7635655da722f1827e
pre_build() {
sed -i 's/^CFLAGS +=/override CFLAGS +=/g' Makefile
sed -i 's/^LDFLAGS =/override LDFLAGS +=/g' Makefile
}
post_install() {
vlicense LICENSE
}
do_check() {
./jdupes -V|grep fsdedup
}