void-packages/srcpkgs/UEFITool/template

28 lines
896 B
Bash

# Template file for 'UEFITool'
pkgname=UEFITool
version=A56
revision=1
build_wrksrc="UEFITool"
build_style=qmake
hostmakedepends="qt5-qmake qt5-host-tools"
makedepends="qt5-declarative-devel"
short_desc="UEFI firmware image viewer and editor"
maintainer="Kacper Słomiński <kacper.slominski72@gmail.com>"
license="BSD-2-Clause"
homepage="https://github.com/LongSoft/UEFITool/"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=b9047c1667ac3e62936debc387f5b88cf90185556e3451d82cbe38d08beeaabd
do_install() {
vbin UEFITool uefitool
vmkdir usr/share/applications
vinstall uefitool.desktop 644 usr/share/applications
local size
for size in 16 32 48 64 128 256 512; do
vinstall icons/uefitool_${size}x${size}.png \
644 usr/share/icons/hicolor${size}x${size}/apps uefitool.png
done
vinstall icons/uefitool_128x128.png 644 usr/share/pixmaps uefitool.png
vlicense ../LICENSE.md
}