void-packages/srcpkgs/UEFITool/template

28 lines
891 B
Bash
Raw Normal View History

# Template file for 'UEFITool'
pkgname=UEFITool
version=A55
revision=1
build_wrksrc="UEFITool"
build_style=qmake
hostmakedepends="qt5-qmake qt5-devel"
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=2b8f7643585aee80497789430b18196e8480c0d0af8632dec8bc06492fbc16d9
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
}