29 lines
925 B
Bash
29 lines
925 B
Bash
# Template file for 'grub-customizer'
|
|
pkgname=grub-customizer
|
|
version=5.2.3
|
|
revision=2
|
|
build_style=cmake
|
|
hostmakedepends="pkg-config"
|
|
makedepends="gtkmm-devel openssl-devel libarchive-devel"
|
|
depends="hicolor-icon-theme grub-utils polkit xhost"
|
|
conf_files="/etc/grub-customizer/grub.cfg"
|
|
short_desc="Graphical grub2 settings manager"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://launchpad.net/grub-customizer/"
|
|
distfiles="https://launchpad.net/grub-customizer/${version%.*}/${version}/+download/grub-customizer_${version}.tar.gz"
|
|
checksum=2e357b114f4f5ebb868cb249d9ff60512d7ec49131314d378212717cd085bd21
|
|
|
|
pre_configure() {
|
|
# Modify desktop file for Void Linux
|
|
vsed -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
|
|
}
|