void-packages/srcpkgs/grub-btrfs/template

26 lines
658 B
Bash

# Template file for 'grub-btrfs'
pkgname=grub-btrfs
version=4.13
revision=1
build_style=gnu-makefile
depends="grub bash"
short_desc="Include btrfs snapshots at Grub menu"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://github.com/Antynea/grub-btrfs"
distfiles="https://github.com/Antynea/grub-btrfs/archive/${version}.tar.gz"
checksum=c493d0d5a6548c01993641ce586c98d461cabe40df4dff79d974d0c59068ff1d
post_install() {
rm -rf -- "${DESTDIR}"/usr/lib/systemd
}
grub-btrfs-runit_package() {
depends="wendy ${sourcepkg}>=${version}_${revision}"
short_desc+=" - runit service"
pkg_install() {
vsv grub-btrfs
}
}