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

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

sha512sums="e7cb734d2a3280f68c9b7707a20a0387c6308aea51d425d63343212301c2dae5dd2851c21b15b62bd6e8f4e855437b58e1a06373378f3e0bf659ba6c767f770a  debootstrap_1.0.117.tar.gz"
