pkgname=postmarketos-mkinitfs pkgver=0.3.4 pkgrel=0 pkgdesc="Tool to generate initramfs images for postmarketOS" url="https://github.com/postmarketOS" # multipath-tools: kpartx depends="busybox-extras lddtree cryptsetup kmod multipath-tools postmarketos-splash device-mapper parted e2fsprogs e2fsprogs-extra" triggers="$pkgname.trigger=/etc/postmarketos-mkinitfs/hooks:/usr/share/kernel/*" source="init.sh.in init_functions.sh mkinitfs.sh" arch="noarch" license="GPL2" provides="mkinitfs=0.0.1" build() { return 0 } package() { mkdir -p "$pkgdir/usr/share/postmarketos-mkinitfs/" for file in init.sh.in init_functions.sh; do install -Dm644 "$srcdir/$file" \ "$pkgdir/usr/share/postmarketos-mkinitfs/$file" done install -Dm755 "$srcdir/mkinitfs.sh" \ "$pkgdir/sbin/mkinitfs" mkdir -p "$pkgdir/etc/postmarketos-mkinitfs/hooks/" } sha512sums="3d0215d61a34e846c6c3e4ff1911742a620cd1c6ff1de3cf26eaa4cb7643467da72bf9abc6a53992cc750bb76340be820149b25b806152b70fc0d40e0f8aa310 init.sh.in a47398cdbb5e68a34086038cf6d72df91f6e58dcae7ff1ea8a375cd44f21e4573a944122ca5a32dda7b002bb14ec5826435edd2512c3db198dc9c0c3756e3cbe init_functions.sh ef1481ef45e786486fb8e9939f756afb1d873a92546468d3dda3065ef46404be7e9847ab1f630fa6cf3e4ab99bdb116401093bbb1bbc882ea85ea824cdf7e389 mkinitfs.sh"