From 52f2235f5287b80a0ab8b1d352f7f94778e528d3 Mon Sep 17 00:00:00 2001 From: lzcoder Date: Thu, 29 Jun 2023 14:30:41 -0300 Subject: [PATCH] grub-btrfs: update to 4.13. --- srcpkgs/grub-btrfs/patches/no-root-please.patch | 16 +++++++--------- srcpkgs/grub-btrfs/template | 6 +++--- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/srcpkgs/grub-btrfs/patches/no-root-please.patch b/srcpkgs/grub-btrfs/patches/no-root-please.patch index 4e0a32803fd1..85349efeb891 100644 --- a/srcpkgs/grub-btrfs/patches/no-root-please.patch +++ b/srcpkgs/grub-btrfs/patches/no-root-please.patch @@ -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 " :::::::: ::::::::: ::: ::: ::::::::: ::::::::: ::::::::::: ::::::::: :::::::::: :::::::: " diff --git a/srcpkgs/grub-btrfs/template b/srcpkgs/grub-btrfs/template index 9579e0a51e0e..c74ab5d04845 100644 --- a/srcpkgs/grub-btrfs/template +++ b/srcpkgs/grub-btrfs/template @@ -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 " 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