### this file is sourced not run
PKGVER=1.6.2.605
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=fatsort-$PKGVER.tar.xz
MD5SUM=e3ef708dcdfff60e81db957f6ac30f5a
SRC_URL=http://downloads.sourceforge.net/fatsort/$TARBALL
#SRC_URL=http://distro.ibiblio.org/fatdog/source/800/$TARBALL
BUNDLE=

SLACKREQ=
SLACKDESC="fatsort: fatsort $PKGVER (Sort filenames in FAT partition)
fatsort: 
fatsort: FATSort is a C utility that sorts FAT12, FAT16 and FAT32 partitions. 
fatsort: It even can handle long file name entries. It was developed because I 
fatsort: wanted to sort my MP3 files on my MP3 hardware player. Unfortunetly, 
fatsort: there was no utility out there so far, so I had to write it myself. 
fatsort: FATSort reads the boot sector and sorts the directory structure 
fatsort: recursively. FATSort is released under GPLv2.
fatsort: 
fatsort: http://fatsort.sourceforge.net/
fatsort: 
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/fatsort*
	make $MAKEFLAGS &&
	make install MANDIR=/usr/share/man/man1 SBINDIR=/usr/bin &&
	pkg_build_slackdesc
}
