void-packages/srcpkgs/fatsort/template

24 lines
725 B
Bash

# Template file for 'fatsort'
pkgname=fatsort
version=1.6.4.625
revision=1
build_style=gnu-makefile
make_check_target=tests
make_install_args="MANDIR=/usr/share/man/man1 SBINDIR=/usr/bin"
checkdepends="xz dosfstools valgrind"
short_desc="Utility that sorts FAT12, FAT16, FAT32 and exFAT partitions"
maintainer="tibequadorian <tibequadorian@posteo.de>"
license="GPL-2.0-or-later"
homepage="https://fatsort.sourceforge.io/"
distfiles="${SOURCEFORGE_SITE}/project/fatsort/fatsort-${version}.tar.xz"
checksum=9a6f89a0640bb782d82ff23a780c9f0aec3dfbe4682c0a8eda157e0810642ead
if [ "$XBPS_TARGET_LIBC" = musl ]; then
broken="most tests are failed"
fi
pre_check() {
vsed -e '/tc_pos_char_enc_iso8859-1/d' \
-i tests/ts_amd64
}