commit:     717726090810c3a314b9c640550397ed2bc9e05e
Author:     Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de>
AuthorDate: Sun Oct  3 19:53:52 2021 +0000
Commit:     Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de>
CommitDate: Sun Oct  3 19:53:52 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=71772609

app-backup/grub-btrfs: new package.

Automatically add btrfs snapshots to grub

Package-Manager: Portage-3.0.23, Repoman-3.0.3
Signed-off-by: Pascal Jäger <pascal.jaeger <AT> leimstift.de>

 app-backup/grub-btrfs/Manifest                 |  1 +
 app-backup/grub-btrfs/grub-btrfs-4.10.1.ebuild | 31 ++++++++++++++++++++++++++
 app-backup/grub-btrfs/metadata.xml             | 17 ++++++++++++++
 3 files changed, 49 insertions(+)

diff --git a/app-backup/grub-btrfs/Manifest b/app-backup/grub-btrfs/Manifest
new file mode 100644
index 000000000..767ea459d
--- /dev/null
+++ b/app-backup/grub-btrfs/Manifest
@@ -0,0 +1 @@
+DIST grub-btrfs-4.10.1.tar.gz 24581 BLAKE2B 
10cba8c3e22ff44c347e331fc8e6f108a947e912db042aca5b61307f01058cef82d44033ce2e1fc36d926e178d2bdd397beac30a7adf89b811ebdba1fb12b112
 SHA512 
e9d395ad56e3095ca27a92f2ceedb699249ea14b29a351e3db13cf27aa8999a9de2bfdca565a5ed359744f88c0dc6f8919b32c8283c763f5facc7b01e98a08c5

diff --git a/app-backup/grub-btrfs/grub-btrfs-4.10.1.ebuild 
b/app-backup/grub-btrfs/grub-btrfs-4.10.1.ebuild
new file mode 100644
index 000000000..dd8bf3280
--- /dev/null
+++ b/app-backup/grub-btrfs/grub-btrfs-4.10.1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 2019-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Improves Grub by adding btrfs snapshots to the Grub menu."
+HOMEPAGE="https://github.com/Antynea/grub-btrfs";
+SRC_URI="https://github.com/Antynea/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+       sys-fs/btrfs-progs
+       sys-boot/grub
+"
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+src_prepare() {
+       default
+}
+src_compile(){
+       true
+}
+
+pkg_postinst() {
+       grub-mkconfig -o /boot/grub/grub.cfg
+}

diff --git a/app-backup/grub-btrfs/metadata.xml 
b/app-backup/grub-btrfs/metadata.xml
new file mode 100644
index 000000000..bccd8dadb
--- /dev/null
+++ b/app-backup/grub-btrfs/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Pascal Jäger</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">Antynea/grub-btrfs</remote-id>
+       </upstream>
+       <longdescription lang="en">
+               Improves Grub by adding "btrfs snapshots" to the Grub menu.
+
+               You can boot your system on a "snapshot" from the Grub menu.
+               Supports manual snapshots, snapper, timeshift ...
+       </longdescription>
+</pkgmetadata>

Reply via email to