# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=debootstrap
pkgver=1.0.93
pkgrel=0
pkgdesc="Debian/Ubuntu bootstrap scripts"
url="https://packages.qa.debian.org/d/debootstrap.html"
arch="noarch"
license="GPL-2.0"
options="!check" # upstream doesn't have a test suite
depends="debian-archive-keyring dpkg tar"
makedepends=""
subpackages="$pkgname-doc"
source="http://ftp.debian.org/debian/pool/main/d/${pkgname}/${pkgname}_${pkgver}.tar.gz"
builddir="$srcdir"/$pkgname

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
	install -Dm644 $pkgname.8 \
		"$pkgdir"/usr/share/man/man8/$pkgname.8
}

sha512sums="c5947a0aafd8f526236d98fe3da3374ef02a69b089844c89a3f5bb5f991fa29d8c2a4ecdbbc84a69a85eca242c628cd592c22e59f444b65c581b8a70d60a3f01  debootstrap_1.0.93.tar.gz"
