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

# source: james
TARBALL=disktype_9.orig.tar.gz
MD5SUM=25a673f162b9c01cd565109202559489
SRC_URL=http://ftp.de.debian.org/debian/pool/main/d/disktype/$TARBALL
BUNDLE=

SLACKREQ=
SLACKDESC="disktype: disktype $PKGVER (Detect disk contents)  
disktype:  
disktype: The purpose of disktype is to detect the content format of a disk or 
disktype: disk image. It knows about common file systems, partition tables and 
disktype: boot codes. This software can be used for forensics analysis.  
disktype: 
disktype: 
disktype: 
disktype: 
disktype: 
disktype: http://disktype.sourceforge.net/ 
"

### default pkg_download
### prepare
pkg_prepare() {
	pkg_prepare_default &&
	cd tmp/disktype* &&
	tar -xf $CHROOT_DIR/tmp/pkg/disktype_9-3.debian.tar.xz &&
	for p in $(cat debian/patches/series); do
		patch -Np1 -i debian/patches/$p
	done
}

### default pkg_package
### build
pkg_build() {
	cd /tmp/disktype*
	make &&
	cp disktype /usr/bin &&
	cp disktype.1 /usr/share/man/man1 &&
	pkg_build_slackdesc
}


