void-packages/srcpkgs/rdfind/template
2020-05-12 10:26:28 +00:00

24 lines
712 B
Bash

# Template file for 'rdfind'
pkgname=rdfind
version=1.4.1
revision=3
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"
distfiles="https://rdfind.pauldreik.se/rdfind-${version}.tar.gz"
checksum=30c613ec26eba48b188d2520cfbe64244f3b1a541e60909ce9ed2efb381f5e8c
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