void-packages/srcpkgs/fatsort/template

25 lines
781 B
Bash

# Template file for 'fatsort'
pkgname=fatsort
version=1.6.5.640
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/"
changelog="https://fatsort.sourceforge.io/CHANGES.html"
distfiles="${SOURCEFORGE_SITE}/project/fatsort/fatsort-${version}.tar.xz"
checksum=630ece56d9eb3a55524af0aec3aade7854360eba949172a6cfb4768cb8fbe42e
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
}