This commit is contained in:
Valeria Fadeeva 2023-04-19 11:08:01 +05:00
parent 38d2d2a073
commit 41a63f90f8
5 changed files with 39 additions and 30 deletions

View File

@ -1,6 +1,6 @@
pkgbase = melawy-refind-menu-generator
pkgdesc = Menu generator for rEFInd loader for kernels in /ESP_PATH/EFI/Linux for Arch Linux
pkgver = 0
pkgver = 1.7
pkgrel = 1
url = https://github.com/Valeria-Fadeeva/melawy-refind-menu-generator
arch = any

View File

@ -1,37 +1,48 @@
# Maintainer: Valeria Fadeeva <valeria@fadeeva.me>
pkgname=melawy-refind-menu-generator
pkgver=0
pkgname="melawy-refind-menu-generator"
pkgver=1.7
pkgrel=1
pkgdesc="Menu generator for rEFInd loader for kernels in /ESP_PATH/EFI/Linux for Arch Linux"
url="https://github.com/Valeria-Fadeeva/melawy-refind-menu-generator"
arch=(any)
license=('AGPL3')
depends=(refind)
arch=("any")
license=("AGPL3")
depends=("refind")
optdepends=()
source=('10-refind-menu-pre-install.hook'
'60-refind-menu-remove.hook'
'90-refind-menu-install.hook'
'menu-end.txt'
'menu-template.txt'
'menu-template-vmlinuz-first.txt'
'refind-menu-generator')
sha256sums=('dc46d6f2030d81a4e5034c1ed84424ce6c4844d933d60eadfacda1e45f17d3cd'
'a27533ae3b81575c5497f18fdd28c4c908c5aff3da6af78095f65d5d350e4331'
'15152ac9be0ab0c42d343e5f86b2561232e05df2a7bc0cf01bd799494c0ba962'
'e1d51fe5b37e42296dc6357fca48f0b68090ffdb1ec0ba2057320ad50e3e9e25'
'a7381e88f569160a29d756a7bab2dcde4cc1f1e6d3d6b0c78535b24936989be8'
'8703c455516a95a87ff18e1c43ce98d2a1f74fddebfc9c091c75465e3ca185e9'
'8e91d5cf0d5bbed8d791acf4485d5c9e4250c8ed3bb13cc6ec1e51edf6ebd5ba')
makedepends=()
backup=()
provides=(dracut-hook)
provides=("dracut-hook")
conflicts=()
source=("10-refind-menu-pre-install.hook"
"60-refind-menu-remove.hook"
"90-refind-menu-install.hook"
"menu-end.txt"
"menu-template.txt"
"menu-template-vmlinuz-first.txt"
"refind-menu-generator")
sha256sums=("dc46d6f2030d81a4e5034c1ed84424ce6c4844d933d60eadfacda1e45f17d3cd"
"a27533ae3b81575c5497f18fdd28c4c908c5aff3da6af78095f65d5d350e4331"
"15152ac9be0ab0c42d343e5f86b2561232e05df2a7bc0cf01bd799494c0ba962"
"e1d51fe5b37e42296dc6357fca48f0b68090ffdb1ec0ba2057320ad50e3e9e25"
"a7381e88f569160a29d756a7bab2dcde4cc1f1e6d3d6b0c78535b24936989be8"
"8703c455516a95a87ff18e1c43ce98d2a1f74fddebfc9c091c75465e3ca185e9"
"8e91d5cf0d5bbed8d791acf4485d5c9e4250c8ed3bb13cc6ec1e51edf6ebd5ba")
# 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-refind-menu-pre-install.hook" "${pkgdir}/usr/share/libalpm/hooks/10-refind-menu-pre-install.hook"
install -Dm644 "${srcdir}/60-refind-menu-remove.hook" "${pkgdir}/usr/share/libalpm/hooks/60-refind-menu-remove.hook"
install -Dm644 "${srcdir}/90-refind-menu-install.hook" "${pkgdir}/usr/share/libalpm/hooks/90-refind-menu-install.hook"
mkdir -p "${pkgdir}/etc/refind-menu-generator"
install -dm755 "${pkgdir}/etc/refind-menu-generator"
install -Dm644 "${srcdir}/menu-end.txt" "${pkgdir}/etc/refind-menu-generator/menu-end.txt"
install -Dm644 "${srcdir}/menu-template.txt" "${pkgdir}/etc/refind-menu-generator/menu-template.txt"
install -Dm644 "${srcdir}/menu-template.txt" "${pkgdir}/etc/refind-menu-generator/menu-template-vmlinuz-first.txt"

3
push.sh Executable file
View File

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

View File

@ -2,9 +2,10 @@ dc46d6f2030d81a4e5034c1ed84424ce6c4844d933d60eadfacda1e45f17d3cd 10-refind-menu
a27533ae3b81575c5497f18fdd28c4c908c5aff3da6af78095f65d5d350e4331 60-refind-menu-remove.hook
15152ac9be0ab0c42d343e5f86b2561232e05df2a7bc0cf01bd799494c0ba962 90-refind-menu-install.hook
8486a10c4393cee1c25392769ddd3b2d6c242d6ec7928e1414efff7dfb2f07ef LICENSE
0ea2534809e39ad105321338dedddfb9c91cc007da20e4c26d263c2dc46480e2 melawy-refind-menu-generator-0-1-any.pkg.tar.zst
aef1dd4ad3642187e9c566a5a9d8360bf89676f327d75cbef96226c9b70ae747 melawy-refind-menu-generator-1.7-1-any.pkg.tar.zst
e1d51fe5b37e42296dc6357fca48f0b68090ffdb1ec0ba2057320ad50e3e9e25 menu-end.txt
a7381e88f569160a29d756a7bab2dcde4cc1f1e6d3d6b0c78535b24936989be8 menu-template.txt
8703c455516a95a87ff18e1c43ce98d2a1f74fddebfc9c091c75465e3ca185e9 menu-template-vmlinuz-first.txt
3524d495c21cca637e4e02194dbd9fcadbeb11b77f0cd2848519b036e2be1824 README.md
80596cb66bf004e50f4de6ad68f931f5c71e9952cb0ae24dfa00def0aa578e47 README.md
8e91d5cf0d5bbed8d791acf4485d5c9e4250c8ed3bb13cc6ec1e51edf6ebd5ba refind-menu-generator
aedde5e5a516fb981ee227f8c28954f72fb280ff4255c335c57496a9547c1670 sign.sh

View File

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