### this file is sourced not run
PKGVER=2024.06 # pull date
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=bbf-$PKGVER.tar.gz
MD5SUM=7888f2111602f5d7ee43096efa296e6d
SRC_URL=https://github.com/trapexit/bbf/archive/0e90e044097af00ad32dfb4a83b3d9b9a87b88ec.tar.gz
BUNDLE=

SLACKREQ=
SLACKDESC="bbf: bbf $PKGVER (bad block finder)
bbf: 
bbf: bbf - a safer and more featureful tool for dealing with bad blocks on 
bbf: harddrives. bbf is a tool built around the workflow in dealing with 
bbf: harddrive bad blocks. It has a number of features to limit risk in 
bbf: using the tool and provides features to more easily track down what 
bbf: files are affected by the bad blocks found. Also gives you the 
bbf: ability to manually mark blocks as corrupted in cases where the block 
bbf: isn't technically bad but causing issues.
bbf: 
bbf: https://github.com/trapexit/bbf
"

### default pkg_download
### default pkg_prepare
### default pkg_package

### build
pkg_build() {
	cd /tmp/bbf* &&
	make $MAKEFLAGS &&
	install -m755 bbf /usr/bin &&
	install -Dm644 README.md /usr/share/doc/bbf/README.md &&
	pkg_build_slackdesc
}
