From 78c376d8faf15ce37807130adf49e3b4fa289204 Mon Sep 17 00:00:00 2001 From: tibequadorian Date: Thu, 9 Jul 2020 02:57:24 +0200 Subject: [PATCH] New package: fatsort-1.6.2.605 --- srcpkgs/fatsort/template | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 srcpkgs/fatsort/template diff --git a/srcpkgs/fatsort/template b/srcpkgs/fatsort/template new file mode 100644 index 00000000000000..fc961ca5bf636c --- /dev/null +++ b/srcpkgs/fatsort/template @@ -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 " +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