This commit is contained in:
Valeria Fadeeva 2023-04-19 11:07:42 +05:00
parent 14533d3bc7
commit 0c7ddc5fdf
5 changed files with 31 additions and 23 deletions

View File

@ -1,6 +1,6 @@
pkgbase = melawy-dracut-initramfs
pkgdesc = Integration layer for dracut for Arch Linux. Placing kernels to /ESP_PATH/EFI/Linux
pkgver = 0
pkgver = 1.7
pkgrel = 1
url = https://github.com/Valeria-Fadeeva/melawy-dracut-initramfs
arch = any

View File

@ -1,25 +1,36 @@
# Maintainer: Valeria Fadeeva <valeria@fadeeva.me>
pkgname=melawy-dracut-initramfs
pkgver=0
pkgname="melawy-dracut-initramfs"
pkgver=1.7
pkgrel=1
pkgdesc="Integration layer for dracut for Arch Linux. Placing kernels to /ESP_PATH/EFI/Linux"
url="https://github.com/Valeria-Fadeeva/melawy-dracut-initramfs"
arch=(any)
license=('AGPL3')
depends=(dracut systemd python util-linux python-pefile)
arch=("any")
license=("AGPL3")
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')
makedepends=()
backup=()
provides=(dracut-hook)
provides=("dracut-hook")
conflicts=()
source=("10-dracut-initramfs-pre-install.hook"
"60-dracut-initramfs-remove.hook"
"90-dracut-initramfs-install.hook"
"dracut-initramfs")
sha256sums=("4a869624ec1b9078e93ed2a9503f71e86b40c110585332b33262e12f8cd37b03"
"f77d94b6eced20b518c68cdc41a6e575ff82a3a78863c96ea6e7ba40f75dbe8e"
"6ac56a11338191d4e515426fcd5e332cad44777ff45e6ea58667320343eef998"
"3b96f5fadd5c4c8b0ec44da63079a29c01a572f359433419f93ecfea923f8117")
# pkgver() {
# cd "$srcdir/$_gitname"
# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
# }
pkgver() {
cd "$srcdir/$_gitname"
printf "1.%s" "$(git rev-list --count HEAD)"
}
package() {
install -Dm644 "${srcdir}/10-dracut-initramfs-pre-install.hook" "${pkgdir}/usr/share/libalpm/hooks/10-dracut-initramfs-pre-install.hook"

3
push.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
git add . && git commit -m "Update" && git push

View File

@ -3,5 +3,5 @@ f77d94b6eced20b518c68cdc41a6e575ff82a3a78863c96ea6e7ba40f75dbe8e 60-dracut-init
6ac56a11338191d4e515426fcd5e332cad44777ff45e6ea58667320343eef998 90-dracut-initramfs-install.hook
3b96f5fadd5c4c8b0ec44da63079a29c01a572f359433419f93ecfea923f8117 dracut-initramfs
8486a10c4393cee1c25392769ddd3b2d6c242d6ec7928e1414efff7dfb2f07ef LICENSE
09fc67fa377d9ff7eae033749e96b009e3936efb50a6ff01688ed0b4c6a3e818 melawy-dracut-initramfs-0-1-any.pkg.tar.zst
c08eaf9b9f1dc7d93f1fe676dc5bcc9ea3d026815d473d709e5f9e6b9ac0bed3 README.md
4d77dfb534c3b76bdec9560b2d742ce4a89d360ac2d40b28a5017d7d9b89b978 melawy-dracut-initramfs-1.7-1-any.pkg.tar.zst
901ec5b8621347d48299784092ba34d8b47b5c0ceb9aeb81a693fe3a89730c5a README.md

View File

@ -1,6 +0,0 @@
#!/bin/bash
for i in *.zst;
do
gpg --detach-sign --output "$i.sig" "$i"
done