Created
March 18, 2020 16:16
-
-
Save CarbonChauvinist/1e1f480f776d9463b30d77d6bd20dbef to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Gary Host <[email protected]> | |
pkgname=dracut-config | |
pkgver=0.1 | |
pkgrel=1 | |
epoch= | |
pkgdesc="My dracut config files including pacman hooks" | |
arch=('any') | |
url="https://gist.githubusercontent.com/CarbonChauvinist/b422d1255640663199fd0130dfbe7573/raw/cc3747b150aad44d80715ba6fe80f323edb674bc" | |
license=('custom') | |
depends=('bash') | |
backup=(etc/dracut.conf.d/myflags.conf) | |
source=("$url/60-dracut-remove.hook" | |
"$url/90-dracut-install.hook" | |
"$url/dracut-remove.sh" | |
"$url/dracut-install.sh" | |
"$url/myflags.conf" | |
) | |
md5sums=('58f2f9804a2e61548484e3bf91970e88' | |
'5b19b63aefdb4d83b7e409dfe64bc51c' | |
'60d08eefe6789eafa2b0ccf7cda6b64f' | |
'a2b57c2a277f5936a5bc10e3c01a8326' | |
'0fe41351a565a4892dcc4f913a1601e6') | |
package() { | |
install -Dm644 -t "$pkgdir/etc/dracut.conf.d" "myflags.conf" | |
install -Dm644 -t "$pkgdir/etc/pacman.d/hooks" "90-dracut-install.hook" "60-dracut-remove.hook" | |
install -Dm755 -t "$pkgdir/usr/bin" "dracut-install.sh" "dracut-remove.sh" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment