void-packages/srcpkgs/grub-customizer/template

30 lines
934 B
Bash

# Template file for 'grub-customizer'
pkgname=grub-customizer
version=5.1.0
revision=5
build_style=cmake
hostmakedepends="pkg-config"
makedepends="gtkmm-devel openssl-devel libarchive-devel"
depends="hicolor-icon-theme grub-utils"
conf_files="/etc/grub-customizer/grub.cfg"
archs="i686* x86_64*"
short_desc="Graphical grub2 settings manager"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-3.0-or-later"
homepage="https://launchpad.net/grub-customizer/"
distfiles="https://launchpad.net/${pkgname}/${version%.*}/${version}/+download/${pkgname}_${version}.tar.gz"
checksum=532f793eea4c6ee6cde4bc987966fa1924946c1da5e3c7b4d4a97f2689661ee0
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
}