# Maintainer: Natanael Copa pkgname=mkinitfs pkgver=3.4.4 _ver=${pkgver%_git*} pkgrel=1 pkgdesc="Tool to generate initramfs images for Alpine" url="https://git.alpinelinux.org/cgit/mkinitfs" arch="all" license="GPL-2.0" # currently we do not ship any testsuite options="!check" makedepends_host="busybox kmod-dev util-linux-dev cryptsetup-dev linux-headers" makedepends="$makedepends_host" depends="busybox>=1.28.2-r1 apk-tools>=2.9.1 lddtree>=1.25" subpackages="$pkgname-doc" install="$pkgname.pre-upgrade $pkgname.post-install $pkgname.post-upgrade" triggers="$pkgname.trigger=/usr/share/kernel/*" source="https://dev.alpinelinux.org/archive/$pkgname/$pkgname-$_ver.tar.xz 0001-init-quote-rootfstype-during-comparison.patch" build() { cd "$builddir" make VERSION=$pkgver-r$pkgrel } package() { cd "$builddir" make install DESTDIR="$pkgdir" } sha512sums="0f26969cb0e6627e7594f09038ada99ea1fa161de918834b95a92d5ba41ebe2ffa93510e2797310f98c963a3140dbde53747064f43ebc31c15bb061a56173ee5 mkinitfs-3.4.4.tar.xz 2cf3c2fb190e0001c4c29495cd1f3661a75ae61cd540f77759836b0cca13c638e7c3789c1456dbc27be124cf6f7ebc688815a1ad8a2dff09f4e75eac62a67d58 0001-init-quote-rootfstype-during-comparison.patch"