aboutsummaryrefslogtreecommitdiffstats
path: root/main/debootstrap/APKBUILD
blob: 1478745124fc0e3f8e266cb066a0007baebaae14 (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.81
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=""
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="c6a5dd0d68b93c0787843966dbcfbe89  debootstrap_1.0.81.tar.gz
6338530a73af092b67da3979ff1cc642  init-freedom-668001.patch
ef5038e52173de7a18c37a0925ccf383  makedev.sh"
sha256sums="344c7f841504c262d5088e9618f1d5f79bc122bffbb1dce2873c5e38029bdfb3  debootstrap_1.0.81.tar.gz
3544d14c4269a52c98171088a067f2cff09765c154114196290640a060248c41  init-freedom-668001.patch
3f26318b59c7697205285d04eb68a4c65905faedd7bbcb4e53e803f9ea8e5c97  makedev.sh"
sha512sums="3869f98070d3a5d2f41824fa9caaae97cfa408e01f356358568df91015970bf3624e93ed4b7666a086d42883fcb1d061f5854a8ece90d0ffdb685c898cb9462d  debootstrap_1.0.81.tar.gz
8690f5f190451ff981a0c53eb2369d4bdc24a724f16bcb8154b34d3a44de2183227bd2cb4418f1310220aa7b7294d82d4c04f2f238d26d99dcc5427850d74df8  init-freedom-668001.patch
71f1dfe7d785cf5f4b2db7e4de01b5e542b33a1a49194a53665d4d68b5de47fc3c5b37ad2d1a7c37fb14d10c6758fa2fb043bd68a6fbb8b9dba90fb071a9db9c  makedev.sh"