# Template file for 'grub-btrfs'
pkgname=grub-btrfs
version=4.14
revision=1
build_style=gnu-makefile
conf_files="/etc/sv/grub-btrfs/conf"
depends="grub bash inotify-tools"
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/v${version}.tar.gz"
checksum=4fe2f8a49b39e3e561fc51bbc5a0f81a7222c1e9ef8672e014e0ba3bedad20c6

post_install() {
	rm -rf -- "${DESTDIR}"/usr/lib/systemd
	vsv grub-btrfs
}

grub-btrfs-runit_package() {
	depends="${sourcepkg}>=${version}_${revision}"
	short_desc+=" (transitional dummy package)"
	metapackage=yes
}
