aboutsummaryrefslogtreecommitdiffstats
path: root/main/debootstrap/APKBUILD
blob: 68dffc73df544f2618479d0a2346a1a862a04c14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=debootstrap
pkgver=1.0.78
pkgrel=0
pkgdesc="Debian/Ubuntu bootstrap scripts"
url="http://packages.qa.debian.org/d/debootstrap.html"
arch="noarch"
license="GPL2"
depends="debian-archive-keyring dpkg tar"
makedepends=""
install=""
subpackages="$pkgname-doc"
source="ftp://ftp.debian.org/debian/pool/main/d/${pkgname}/${pkgname}_${pkgver}.tar.gz
	init-freedom-668001.patch
	makedev.sh"

_builddir="$srcdir"/$pkgname
prepare() {
	chmod +x "$srcdir/makedev.sh"
}

package() {
	cd "$_builddir"
	make MAKEDEV="$srcdir/makedev.sh" \
		devices.tar.gz || return 1

	make DESTDIR="$pkgdir" install || return 1
	install -Dm644 $pkgname.8 \
		"$pkgdir"/usr/share/man/man8/$pkgname.8 || return 1
}

md5sums="72021ebfa2f44f57fb0adf40e7afec7d  debootstrap_1.0.78.tar.gz
6338530a73af092b67da3979ff1cc642  init-freedom-668001.patch
ef5038e52173de7a18c37a0925ccf383  makedev.sh"
sha256sums="b08b32152f240b42ee7fc30f365d95527edf9012e25a16a5f03ba70297389abb  debootstrap_1.0.78.tar.gz
3544d14c4269a52c98171088a067f2cff09765c154114196290640a060248c41  init-freedom-668001.patch
3f26318b59c7697205285d04eb68a4c65905faedd7bbcb4e53e803f9ea8e5c97  makedev.sh"
sha512sums="a65435fde2e7d2bb2dd51c8ac1fad51616d3ff11a2966c74eb1b2869685d62c7e0f7e2ecb539f92a700e2a6d570d0715ba15476ac0439feb9fda80310db2392b  debootstrap_1.0.78.tar.gz
8690f5f190451ff981a0c53eb2369d4bdc24a724f16bcb8154b34d3a44de2183227bd2cb4418f1310220aa7b7294d82d4c04f2f238d26d99dcc5427850d74df8  init-freedom-668001.patch
71f1dfe7d785cf5f4b2db7e4de01b5e542b33a1a49194a53665d4d68b5de47fc3c5b37ad2d1a7c37fb14d10c6758fa2fb043bd68a6fbb8b9dba90fb071a9db9c  makedev.sh"