diff --git a/.SRCINFO b/.SRCINFO index 6c2cbb4..3ae1e4a 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -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 diff --git a/PKGBUILD b/PKGBUILD index 21be337..528b293 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,25 +1,36 @@ # Maintainer: Valeria Fadeeva -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" diff --git a/push.sh b/push.sh new file mode 100755 index 0000000..a9a24d8 --- /dev/null +++ b/push.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +git add . && git commit -m "Update" && git push diff --git a/sha256sum.txt b/sha256sum.txt index f60d0c9..b264e4e 100644 --- a/sha256sum.txt +++ b/sha256sum.txt @@ -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 diff --git a/sign.sh b/sign.sh deleted file mode 100755 index d2fb11d..0000000 --- a/sign.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash - -for i in *.zst; -do - gpg --detach-sign --output "$i.sig" "$i" -done