jdupes: update to 1.21.0.

CFLAGS="-DENABLE_DEDUPE" is enough to enable --dedupe.
See a92952dbd0 and #32048.
This commit is contained in:
Roberto Ricci 2022-11-06 16:27:00 +01:00 committed by Leah Neukirchen
parent 4db760c76f
commit 223dd5f418
1 changed files with 4 additions and 7 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'jdupes' # Template file for 'jdupes'
pkgname=jdupes pkgname=jdupes
version=1.20.2 version=1.21.0
revision=1 revision=1
build_style=gnu-makefile build_style=gnu-makefile
make_build_args="ENABLE_BTRFS=1" make_build_args="ENABLE_BTRFS=1"
@ -10,17 +10,14 @@ license="MIT"
homepage="https://github.com/jbruchon/jdupes" homepage="https://github.com/jbruchon/jdupes"
changelog="https://raw.githubusercontent.com/jbruchon/jdupes/master/CHANGES" changelog="https://raw.githubusercontent.com/jbruchon/jdupes/master/CHANGES"
distfiles="https://github.com/jbruchon/jdupes/archive/v${version}.tar.gz" distfiles="https://github.com/jbruchon/jdupes/archive/v${version}.tar.gz"
checksum=d079d22dc77e1d181abcb8a59216520633a8712d197d007a9a9fb64c72610824 checksum=13e56c608354f10f9314c99cf37b034dde14e6bf4a9303c77391323e2ef4f549
pre_build() { CFLAGS="-DENABLE_DEDUPE"
sed -i 's/^CFLAGS +=/override CFLAGS +=/g' Makefile
sed -i 's/^LDFLAGS =/override LDFLAGS +=/g' Makefile
}
post_install() { post_install() {
vlicense LICENSE vlicense LICENSE
} }
do_check() { do_check() {
./jdupes -V|grep fsdedup ./jdupes -v | grep 'Compile-time extensions:.*fsdedup'
} }