25 lines
790 B
Bash
25 lines
790 B
Bash
# Template file for 'rdfind'
|
|
pkgname=rdfind
|
|
version=1.5.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
makedepends="nettle-devel"
|
|
checkdepends="tar which"
|
|
short_desc="Program that finds duplicate files"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://rdfind.pauldreik.se"
|
|
changelog="https://raw.githubusercontent.com/pauldreik/rdfind/main/ChangeLog"
|
|
distfiles="https://rdfind.pauldreik.se/rdfind-${version}.tar.gz"
|
|
checksum=4150ed1256f7b12b928c65113c485761552b9496c433778aac3f9afc3e767080
|
|
|
|
pre_configure() {
|
|
# skip tests that don't work as expected in the chroot
|
|
vsed -i Makefile.in \
|
|
-e 's:testcases/hardlink_fails.sh \\:\\:' \
|
|
-e 's:testcases/symlinking_action.sh \\:\\:'
|
|
}
|
|
|
|
case "${XBPS_TARGET_MACHINE}" in
|
|
aarch64) LDFLAGS="-Wl,-znotext";;
|
|
esac
|