mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
qrcp: update to 0.11.3
This commit is contained in:
parent
7df0e1a24b
commit
48db5d6a57
1 changed files with 11 additions and 4 deletions
|
@ -1,18 +1,25 @@
|
||||||
# Template file for 'qrcp'
|
# Template file for 'qrcp'
|
||||||
pkgname=qrcp
|
pkgname=qrcp
|
||||||
version=0.11.2
|
version=0.11.3
|
||||||
revision=2
|
revision=1
|
||||||
build_style=go
|
build_style=go
|
||||||
|
build_helper=qemu
|
||||||
go_import_path=github.com/claudiodangelis/qrcp
|
go_import_path=github.com/claudiodangelis/qrcp
|
||||||
go_ldflags="-X github.com/claudiodangelis/qrcp/version.version=${version}
|
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)"
|
-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"
|
short_desc="Transfer files over wifi to mobile devices by scanning a QR code"
|
||||||
maintainer="meator <meator.dev@gmail.com>"
|
maintainer="meator <meator.dev@gmail.com>"
|
||||||
license="MIT"
|
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"
|
distfiles="https://github.com/claudiodangelis/qrcp/archive/refs/tags/${version}.tar.gz"
|
||||||
checksum=fd8723e1f792902a1a0eff07242b2915eeec66741c08f5fa1ecdaefce607f168
|
checksum=de6a9e29d7c71268e40452abf2f1f593d5d53baa34df5abcb7352ebfd72a952f
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
|
|
||||||
|
for shell in bash fish zsh; do
|
||||||
|
vtargetrun "${DESTDIR}/usr/bin/qrcp" completion "${shell}" > "qrcp.${shell}"
|
||||||
|
vcompletion "qrcp.${shell}" "${shell}"
|
||||||
|
done
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue