summaryrefslogtreecommitdiffstats
path: root/main/mkinitfs/APKBUILD
blob: 17fe29ee2a8c349a955029b4e10325f18f7f302a (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_rc8
pkgrel=0
pkgdesc="Tool to generate initramfs images for Alpine"
url=http://git.alpinelinux.org/cgit/mkinitfs
depends="busybox apk-tools>=2.0"
triggers="$pkgname.trigger:/usr/share/kernel/*"
source="http://git.alpinelinux.org/cgit/$pkgname/snapshot/$pkgname-$pkgver.tar.bz2
	"
license="GPL-2"

build() {
	cd "$srcdir"/$pkgname-$pkgver
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make install DESTDIR="$pkgdir" || return 1
}
md5sums="ca9280a78f1e712283df2c2f4a0ca41b  mkinitfs-2.0_rc8.tar.bz2"