30 lines
953 B
Bash
30 lines
953 B
Bash
# Template file for 'grub-customizer'
|
|
pkgname=grub-customizer
|
|
version=5.0.6
|
|
revision=3
|
|
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=c5a0d21c08b2215170b96294c7d7d96bd7588302b737bb3c06a1112bc074bdd3
|
|
|
|
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
|
|
}
|