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

# source: james
TARBALL=bchunk-$PKGVER.tar.gz
MD5SUM=beb1d792f556e95288e4c3b1cfdc84e9
SRC_URL=https://github.com/extramaster/bchunk/archive/v1.2.1_repub.1.tar.gz
BUNDLE=

SLACKREQ=
SLACKDESC="bchunk: bchunk $PKGVER (BIN/CUE chunker)
bchunk: 
bchunk: binchunker converts a CD image in a '.bin / .cue' format (sometimes 
bchunk: '.raw / .cue') to a set of .iso and .cdr tracks. The bin/cue format 
bchunk: is used by some popular non-Unix cd-writing software, but is not 
bchunk: supported on most other CD burning programs.
bchunk: 
bchunk: https://github.com/extramaster/bchunk
bchunk: 
bchunk: 
bchunk: 
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/bchunk* &&
	sed -i -e '/bchunk\.1/ s|bin|root|g' Makefile &&
	make &&
	make installbin installman BIN_DIR=/usr/bin MAN_DIR=/usr/share/man &&
	pkg_build_slackdesc
}


