# Maintainer: Natanael Copa pkgname=mkinitfs pkgver=2.0 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" prepare() { cd "$srcdir"/$pkgname-$pkgver for i in $source; do case "$i" in *.patch) patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$srcdir"/$pkgname-$pkgver make || return 1 } package() { cd "$srcdir"/$pkgname-$pkgver make install DESTDIR="$pkgdir" || return 1 } md5sums="b43a5eae02a1f97362ca66e7b5108593 mkinitfs-2.0.tar.bz2"