void-packages/srcpkgs/grub-customizer/template

30 lines
953 B
Bash

# Template file for 'grub-customizer'
pkgname=grub-customizer
version=5.0.8
revision=1
build_style=cmake
hostmakedepends="pkg-config"
makedepends="gtkmm-devel libressl-devel libarchive-devel"
depends="hicolor-icon-theme grub-utils"
conf_files="/etc/grub-customizer/grub.cfg"
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
short_desc="Graphical grub2 settings manager"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-3"
homepage="https://launchpad.net/grub-customizer/"
distfiles="https://launchpad.net/${pkgname}/${version%.*}/${version}/+download/${pkgname}_${version}.tar.gz"
checksum=b00a1650cdc3f0df668289c79beefd1349f9314d33330e38ca4afd1d29f4407c
pre_configure() {
# Modify desktop file for Void Linux
sed -i misc/grub-customizer.desktop \
-e '/^Categories=/s/Settings/GTK/' \
-e '/^X-Ubuntu/d' \
-e '/^X-KDE/d'
}
post_install() {
vinstall ${FILESDIR}/grub.cfg 644 etc/grub-customizer grub.cfg
vdoc changelog
}