grub-btrfs: update to 4.13.

This commit is contained in:
lzcoder 2023-06-29 14:30:41 -03:00 committed by Duncan Overbruck
parent 26773084b8
commit 484340deb7
2 changed files with 10 additions and 12 deletions

View File

@ -1,15 +1,13 @@
Index: grub-btrfs-4.9/Makefile
===================================================================
--- grub-btrfs-4.9.orig/Makefile
+++ grub-btrfs-4.9/Makefile
@@ -9,10 +9,6 @@ LIB_DIR = $(DESTDIR)$(PREFIX)/lib
.PHONY: install uninstall help
--- a/Makefile
+++ b/Makefile
@@ -22,10 +22,6 @@
.PHONY: install uninstall clean help
install:
- @if test "$(shell id -u)" != 0; then \
- echo "You are not root, run this target as root please."; \
- exit 1; \
- fi
@install -Dm755 -t "$(DESTDIR)/etc/grub.d/" 41_snapshots-btrfs
@install -Dm644 -t "$(DESTDIR)/etc/default/grub-btrfs/" config
@install -Dm644 -t "$(LIB_DIR)/systemd/system/" grub-btrfs.service
@echo " Installing "
@echo
@echo " :::::::: ::::::::: ::: ::: ::::::::: ::::::::: ::::::::::: ::::::::: :::::::::: :::::::: "

View File

@ -1,6 +1,6 @@
# Template file for 'grub-btrfs'
pkgname=grub-btrfs
version=4.10.1
version=4.13
revision=1
build_style=gnu-makefile
depends="grub bash"
@ -8,8 +8,8 @@ short_desc="Include btrfs snapshots at Grub menu"
maintainer="Anjandev Momi <anjan@momi.ca>"
license="GPL-3.0-or-later"
homepage="https://github.com/Antynea/grub-btrfs"
distfiles="https://github.com/Antynea/grub-btrfs/archive/v${version}.tar.gz"
checksum=3ef53f16a7bc0fdd5a5ac2216a41bf1b2f4fd2283717c5c240415d5d24d3734b
distfiles="https://github.com/Antynea/grub-btrfs/archive/${version}.tar.gz"
checksum=c493d0d5a6548c01993641ce586c98d461cabe40df4dff79d974d0c59068ff1d
post_install() {
rm -rf -- "${DESTDIR}"/usr/lib/systemd