New package: UEFITool-A55

Closes: #14821 [via git-merge-pr]
This commit is contained in:
Kacper Słomiński 2019-09-29 19:01:19 +02:00 committed by Piraty
parent 9855e76965
commit a0aa24c3f0
1 changed files with 27 additions and 0 deletions

27
srcpkgs/UEFITool/template Normal file
View File

@ -0,0 +1,27 @@
# 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
}