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

# james
TARBALL=ntfs-3g-dedup-$PKGVER.zip
MD5SUM=f83eb0ef8862ad2085b3d539e34300ad
#SRC_URL=https://jp-andre.pagesperso-orange.fr/dedup.zip # dead
SRC_URL=http://distro.ibiblio.org/fatdog/source/900/$TARBALL
BUNDLE=

SLACKREQ=
SLACKDESC="ntfs-3g_dedup: ntfs-3g_dedup $PKGVER (NTFS-3G Dedup Plugin)
ntfs-3g_dedup: 
ntfs-3g_dedup: This plugin enables NTFS-3G to access de-duplicated files, a feature 
ntfs-3g_dedup: introduced in Windows Server 2012.
ntfs-3g_dedup: 
ntfs-3g_dedup: https://jp-andre.pagesperso-orange.fr/advanced-ntfs-3g.html
ntfs-3g_dedup: 
ntfs-3g_dedup: 
ntfs-3g_dedup: 
ntfs-3g_dedup: 
ntfs-3g_dedup: 
"

### default pkg_download
### pkg_prepare
pkg_prepare() {
	pkg_check $SRC_DIR $TARBALL $MD5SUM &&
	unzip -d ./tmp $SRC_DIR/$TARBALL
}

### default pkg_package
### build
pkg_build() {
	cd /tmp/dedup &&
	autoreconf -fi &&
	pkg_build_autoconf &&
	pkg_build_slackdesc
}
