aboutsummaryrefslogtreecommitdiffstats
path: root/main/debootstrap/APKBUILD
blob: 7bb2602d0a5e7bf643d1d19fb07e6c73f69656e7 (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.75
pkgrel=1
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="00ee8c0f34d41d8e08823b07c708349f  debootstrap_1.0.75.tar.gz
6338530a73af092b67da3979ff1cc642  init-freedom-668001.patch
ef5038e52173de7a18c37a0925ccf383  makedev.sh"
sha256sums="4fdc5daf7bce3816a7faa916e7cbd6d45357f241f0d845bec0015c06fd7c7cd6  debootstrap_1.0.75.tar.gz
3544d14c4269a52c98171088a067f2cff09765c154114196290640a060248c41  init-freedom-668001.patch
3f26318b59c7697205285d04eb68a4c65905faedd7bbcb4e53e803f9ea8e5c97  makedev.sh"
sha512sums="bbf4a9e33ee0b398064aa12ba77c7e2ad8fba0e050a8d821341c9c065f8554476aaa6c67f93e3255f85828b98643080f331aee9de6a901a9d5fb5cbcb8ed6beb  debootstrap_1.0.75.tar.gz
8690f5f190451ff981a0c53eb2369d4bdc24a724f16bcb8154b34d3a44de2183227bd2cb4418f1310220aa7b7294d82d4c04f2f238d26d99dcc5427850d74df8  init-freedom-668001.patch
71f1dfe7d785cf5f4b2db7e4de01b5e542b33a1a49194a53665d4d68b5de47fc3c5b37ad2d1a7c37fb14d10c6758fa2fb043bd68a6fbb8b9dba90fb071a9db9c  makedev.sh"