aboutsummaryrefslogtreecommitdiffstats
path: root/main/debootstrap/APKBUILD
blob: ff9f2d56378ede5252a87a17334162906c3fbe5f (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.74
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-$pkgver
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="4a5c047251a467033ad2fe0415513b14  debootstrap_1.0.74.tar.gz
6338530a73af092b67da3979ff1cc642  init-freedom-668001.patch
ef5038e52173de7a18c37a0925ccf383  makedev.sh"
sha256sums="ae1d1a8d6212f7721be489608230a185721b798d114f8c56b67c4a5e123586bf  debootstrap_1.0.74.tar.gz
3544d14c4269a52c98171088a067f2cff09765c154114196290640a060248c41  init-freedom-668001.patch
3f26318b59c7697205285d04eb68a4c65905faedd7bbcb4e53e803f9ea8e5c97  makedev.sh"
sha512sums="19c2cbbe66eafab73715f0449d84a689f8f1c766ecb14496e6eb77d792a7950d181d2e1bf9b07c8b27d692f94b8e247174d0a04200fb0404a9f3b17d7a898b83  debootstrap_1.0.74.tar.gz
8690f5f190451ff981a0c53eb2369d4bdc24a724f16bcb8154b34d3a44de2183227bd2cb4418f1310220aa7b7294d82d4c04f2f238d26d99dcc5427850d74df8  init-freedom-668001.patch
71f1dfe7d785cf5f4b2db7e4de01b5e542b33a1a49194a53665d4d68b5de47fc3c5b37ad2d1a7c37fb14d10c6758fa2fb043bd68a6fbb8b9dba90fb071a9db9c  makedev.sh"