void-packages/srcpkgs/qtpass/template

27 lines
769 B
Bash

# Template file for 'qtpass'
pkgname=qtpass
version=1.2.1
revision=1
build_style=qmake
wrksrc="QtPass-${version}"
hostmakedepends="qt5-qmake qt5-tools qt5-host-tools qt5-devel"
makedepends="qt5-devel"
depends="pass pwgen"
short_desc="Multi-platform GUI for pass"
maintainer="annejan <brouwer@annejan.com>"
license="GPL-3"
homepage="http://qtpass.org/"
distfiles="https://github.com/IJHack/${pkgname}/archive/v${version}.tar.gz"
checksum=f2aa1a54ed273546aab8933e560218b7b59f7f07000d93c018ec8d6ccdedcd5d
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
}