1 # Copyright 2023 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 DESCRIPTION
="Modular initramfs image creation utility"
7 HOMEPAGE
="https://github.com/archlinux/mkinitcpio"
9 SRC_URI
="https://github.com/archlinux/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
15 KEYWORDS
="amd64 arm arm64 mips x86"
28 sys-apps/baselayout[-split-usr]
32 systemd? ( sys-apps/systemd[-split-usr] )
46 exeinto
/usr
/lib
/initcpio
/
48 insinto
/usr
/lib
/initcpio
/install
49 newins
"${FILESDIR}"/initcpio-install-systemd systemd
50 newins
"${FILESDIR}"/initcpio-install-base base
51 insinto
/usr
/lib
/initcpio
/hooks
52 newins
"${FILESDIR}"/initcpio-hook-udev udev
53 insinto
/etc
/mkinitcpio.d
54 doins
"${FILESDIR}"/linux.preset