qrcp: update to 0.11.3

This commit is contained in:
cinerea0 2024-11-25 12:11:00 -05:00 committed by cinerea0
parent 7df0e1a24b
commit 48db5d6a57
1 changed files with 11 additions and 4 deletions

View File

@ -1,18 +1,25 @@
# Template file for 'qrcp'
pkgname=qrcp
version=0.11.2
revision=2
version=0.11.3
revision=1
build_style=go
build_helper=qemu
go_import_path=github.com/claudiodangelis/qrcp
go_ldflags="-X github.com/claudiodangelis/qrcp/version.version=${version}
-X github.com/claudiodangelis/qrcp/version.date=$(date -d@$SOURCE_DATE_EPOCH +%Y-%m-%dT%H:%M:%SZ)"
short_desc="Transfer files over wifi to mobile devices by scanning a QR code"
maintainer="meator <meator.dev@gmail.com>"
license="MIT"
homepage="https://claudiodangelis.com/qrcp/"
homepage="https://qrcp.sh/"
changelog="https://github.com/claudiodangelis/qrcp/releases"
distfiles="https://github.com/claudiodangelis/qrcp/archive/refs/tags/${version}.tar.gz"
checksum=fd8723e1f792902a1a0eff07242b2915eeec66741c08f5fa1ecdaefce607f168
checksum=de6a9e29d7c71268e40452abf2f1f593d5d53baa34df5abcb7352ebfd72a952f
post_install() {
vlicense LICENSE
for shell in bash fish zsh; do
vtargetrun "${DESTDIR}/usr/bin/qrcp" completion "${shell}" > "qrcp.${shell}"
vcompletion "qrcp.${shell}" "${shell}"
done
}