New package: fatsort-1.6.2.605

This commit is contained in:
tibequadorian 2020-07-09 02:57:24 +02:00 committed by Danh Doan
parent bbaa7d5785
commit 67d4ebf5d0
1 changed files with 29 additions and 0 deletions

29
srcpkgs/fatsort/template Normal file
View File

@ -0,0 +1,29 @@
# 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