aboutsummaryrefslogtreecommitdiffstats
path: root/main/mkinitfs/APKBUILD
blob: 8f2789fbccf1d315ca62dd517e42b1e2c87ca12c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mkinitfs
pkgver=2.0_rc6
pkgrel=1
pkgdesc="Tool to generate initramfs images for Alpine"
url=http://git.alpinelinux.org/cgit/mkinitfs
depends="busybox apk-tools>=2.0_rc7"
triggers="$pkgname.trigger:/usr/share/kernel/*"
source="http://git.alpinelinux.org/cgit/$pkgname/snapshot/$pkgname-$pkgver.tar.bz2
	0001-init-never-overwrite-existing-files.patch
	"
license="GPL-2"

build() {
	cd "$srcdir"/$pkgname-$pkgver

	patch -p1 -i ../0001-init-never-overwrite-existing-files.patch || return 1
	make || return 1
	make install DESTDIR="$pkgdir" || return 1
}
md5sums="6b8945b2e3be747caf8cfb29230f180e  mkinitfs-2.0_rc6.tar.bz2
921aadd7e302d5e565e539e611be946e  0001-init-never-overwrite-existing-files.patch"