void-packages/srcpkgs/grub-btrfs/template

26 lines
656 B
Bash

# Template file for 'grub-btrfs'
pkgname=grub-btrfs
version=4.9
revision=1
build_style=gnu-makefile
depends="grub bash"
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=62461133c697643e98a608239773f500edee3e4055c5729fef6639d1cd610243
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
}
}