void-packages/srcpkgs/qtpass/template
Đoàn Trần Công Danh a92d370caa srcpkgs: add patch_args=-Np0 en-mass
Generated with:

	git ls-files 'srcpkgs/**/patches/*' |
	cut -d/ -f2 | uniq |
	xargs printf 'srcpkgs/%s/template\n'  |
	xargs grep -L 'patch_args=' |
	xargs sed -i "$(printf '1,/^$/{/^$/i\\\npatch_args=-Np0\n}\n')"
2021-06-20 13:17:29 +07:00

28 lines
871 B
Bash

# Template file for 'qtpass'
pkgname=qtpass
version=1.3.2
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=7a68e1afe68462c878c212a79c40ade5ba14b72710c5e62450cf54c7b5621254
patch_args=-Np0
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
}