void-packages/srcpkgs/qtpass/template

29 lines
856 B
Bash

# Template file for 'qtpass'
pkgname=qtpass
version=1.2.3
revision=1
wrksrc="QtPass-${version}"
build_style=qmake
hostmakedepends="qt5-qmake qt5-host-tools"
makedepends="qt5-devel qt5-svg-devel"
depends="pass pwgen"
short_desc="Multi-platform GUI for pass"
maintainer="annejan <brouwer@annejan.com>"
license="GPL-3.0-or-later"
homepage="https://qtpass.org/"
changelog="https://raw.githubusercontent.com/IJHack/QtPass/master/CHANGELOG.md"
distfiles="https://github.com/IJHack/${pkgname}/archive/v${version}.tar.gz"
checksum=658b632bb06e9ad63d5076aace5fe0e57a0f7f20e0aafdfb64f86a25bdadbb07
do_install() {
vbin main/qtpass
vinstall artwork/icon.png 644 \
usr/share/icons/hicolor/512x512/apps qtpass-icon.png
vinstall artwork/icon.svg 644 \
usr/share/icons/hicolor/scalable/apps qtpass-icon.svg
vinstall qtpass.desktop 644 usr/share/applications
}