# Contributor: Abakus <java5 at arcor dot de>
pkgname=debootstrap
pkgver=1.0.40
pkgrel=1
pkgdesc="debootstrap is used to create a Debian base system from scratch, without requiring the availability of dpkg or apt"
arch=('i686' 'x86_64')
license=('GPL')
url="http://packages.qa.debian.org/d/debootstrap.html"
depends=( 'glibc' 'debian-archive-keyring' )
source=("http://ftp.debian.org/debian/pool/main/d/${pkgname}/${pkgname}_${pkgver}_all.deb")
md5sums=('6fbd913aa7db03d4637b47bb622bb503')
build(){
tar xzvf ${srcdir}/data.tar.gz -C ${pkgdir}/
if test "$CARCH" == x86_64; then
darch="amd64"
else
darch="i386"
fi
echo "$darch" > ${pkgdir}/usr/share/debootstrap/arch
}