void-packages/srcpkgs/jdupes/template
UsernameRandomlyGenerated f83cbb15bd jdupes: update to 1.20.2.
2022-01-05 04:33:48 -03:00

26 lines
737 B
Bash

# Template file for 'jdupes'
pkgname=jdupes
version=1.20.2
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=d079d22dc77e1d181abcb8a59216520633a8712d197d007a9a9fb64c72610824
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
}