diff --git a/srcpkgs/UEFITool/template b/srcpkgs/UEFITool/template new file mode 100644 index 00000000000..6d9602fd636 --- /dev/null +++ b/srcpkgs/UEFITool/template @@ -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 " +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 +}