void-packages/srcpkgs/fatsort/template
2020-07-26 04:02:04 +00:00

29 lines
836 B
Bash

# Template file for 'fatsort'
pkgname=fatsort
version=1.6.2.605
revision=1
build_style=gnu-makefile
make_check_target=tests
make_install_args="MANDIR=/usr/share/man/man1 SBINDIR=/usr/bin"
hostmakedepends="help2man"
checkdepends="xz dosfstools diffutils 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=08cafa36f86ab89e7a3241d437df9af8a008549d7d13416256b7aaa006d5ffb7
if [ "$XBPS_TARGET_LIBC" = musl ]; then
broken="most tests are failed"
fi
if [ "$CROSS_BUILD" ]; then
make_build_args="HELP2MAN=:"
post_build() {
: >man/fatsort.1
}
post_install() {
rm -rf $DESTDIR/usr/share/man
}
fi