# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=debootstrap
pkgver=1.0.92
pkgrel=0
pkgdesc="Debian/Ubuntu bootstrap scripts"
url="https://packages.qa.debian.org/d/debootstrap.html"
arch="noarch"
license="GPL-2.0"
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-$pkgver

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

sha512sums="42d6cdeb1efbe95d9215522648d87165326ae1b5a024608abd476a6b3889c8c04420a0f29f5eb9cfd2e57adb4aa57a606519b09e356d0442cd4a4a0f6f45f656  debootstrap_1.0.92.tar.gz"
