melawy-dracut-initramfs/PKGBUILD

31 lines
1.4 KiB
Bash
Raw Normal View History

2023-04-15 13:58:52 +05:00
# Author: Valeria Fadeeva <valeria@fadeeva.me>
# Maintainer: Valeria Fadeeva <valeria@fadeeva.me>
pkgname=melawy-dracut-initramfs
pkgver=0
pkgrel=1
pkgdesc="Integration layer for dracut for Arch Linux"
url="https://github.com/Valeria-Fadeeva/melawy-dracut-initramfs"
arch=(any)
license=('AGPLv3')
depends=(dracut systemd python util-linux python-pefile)
optdepends=()
source=('10-dracut-initramfs-pre-install.hook'
'60-dracut-initramfs-remove.hook'
'90-dracut-initramfs-install.hook'
'dracut-initramfs')
sha256sums=('4a869624ec1b9078e93ed2a9503f71e86b40c110585332b33262e12f8cd37b03'
'f77d94b6eced20b518c68cdc41a6e575ff82a3a78863c96ea6e7ba40f75dbe8e'
'6ac56a11338191d4e515426fcd5e332cad44777ff45e6ea58667320343eef998'
'3b96f5fadd5c4c8b0ec44da63079a29c01a572f359433419f93ecfea923f8117')
backup=()
provides=(dracut-hook)
conflicts=()
package() {
install -Dm644 "${srcdir}/10-dracut-initramfs-pre-install.hook" "${pkgdir}/usr/share/libalpm/hooks/10-dracut-initramfs-pre-install.hook"
install -Dm644 "${srcdir}/60-dracut-initramfs-remove.hook" "${pkgdir}/usr/share/libalpm/hooks/60-dracut-initramfs-remove.hook"
install -Dm644 "${srcdir}/90-dracut-initramfs-install.hook" "${pkgdir}/usr/share/libalpm/hooks/90-dracut-initramfs-install.hook"
install -Dm755 "${srcdir}/dracut-initramfs" "${pkgdir}/usr/bin/dracut-initramfs"
}