# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
license Restrictive/Distributable
maintainers {gmail.com:newtonne.github @newtonne} openmaintainer
description Official 1Password command-line tool
long_description View and manage 1password.com users, groups and objects \
homepage https://support.1password.com/command-line/
set archive ${bin_name}_darwin_amd64_v
master_sites https://cache.agilebits.com/dist/1P/op/pkg/v${version}/
distfiles ${archive}${version}${extract.suffix}
checksums rmd160 1864b47b7251f896bfb69efe93870eb1e9e6d09b \
sha256 44071e7e36636726c2ce35b0538bc492fbb8725249e898f0070b4bf985712884 \
set share_dir ${prefix}/share/${name}
xinstall -m 755 ${worksrcpath}/${bin_name} ${destroot}${prefix}/bin
xinstall -d ${destroot}${share_dir}
xinstall -m 644 ${worksrcpath}/${bin_name}.sig ${destroot}${share_dir}
livecheck.url https://app-updates.agilebits.com/product_history/CLI
livecheck.regex ${archive}(\\d+(\\.\\d+)+)${extract.suffix}
# 1Password CLI team requested that this note be displayed
The GPG sigfile has been installed to ${share_dir}/${bin_name}.sig
For instructions on verifying the binary, see:
https://support.1password.com/command-line-getting-started/#set-up-the-command-line-tool