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

# source: james
# release tarball
PKGVER=1.4.0
TARBALL=exfat-utils-$PKGVER.tar.gz
MD5SUM=2e33fc2d291ca5632218561b3ca2570b
SRC_URL=https://github.com/relan/exfat/releases/download/v${PKGVER}/$TARBALL
BUNDLE=

# git-master tarball
#PKGVER=
#MD5SUM=
#hash=
#hash7=${hash#???????}; hash7=${hash%$hash7}
#TARBALL=
#SRC_URL=https://github.com/relan/exfat/archive/$hash.tar.gz

SLACKREQ=''
SLACKDESC="exfat-utils: exfat-utils $PKGVER (ExFAT filesystem utilities)
exfat-utils: 
exfat-utils: This package contains filesystem utilities for the ExFAT filesystem
exfat-utils: 
exfat-utils: This is an older codebase based on the original Android code, and
exfat-utils: was adapted for FUSE ExFAT driver. As the utilities code is 
exfat-utils: independent of FUSE, it should work with either FUSE or kernel
exfat-utils: ExFAT driver. It cannot be installed together with exfatprogs as
exfat-utils: it will overwrite each other's files.
exfat-utils: 
exfat-utils: https://github.com/relan/exfat
"
SLACKCON='exfatprogs'

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	CONFFLAGS="$CONFFLAGS --sbindir=/sbin"
	
	cd /tmp/*exfat* &&
	if ! [ -e configure ]; then
		echo "SUBDIRS = libexfat dump fsck label mkfs" > Makefile.am
		autoreconf -fi		
	fi &&
	pkg_build_autoconf &&
	pkg_build_slackdesc
}



