# Maintainer: slurpee # Contributors: Felix Seidel, Claudia Pellegrino, Liu Yuxuan pkgname=1password-cli pkgver=2.14.0 pkgrel=1 pkgdesc="1Password command line tool" arch=('x86_64' 'i686' 'arm' 'armv6h' 'aarch64') url="https://app-updates.agilebits.com/product_history/CLI2" license=('custom') options=('!strip' '!emptydirs') install=${pkgname}.install source_x86_64=("https://cache.agilebits.com/dist/1P/op2/pkg/v${pkgver}/op_linux_amd64_v${pkgver}.zip") source_i686=("https://cache.agilebits.com/dist/1P/op2/pkg/v${pkgver}/op_linux_386_v${pkgver}.zip") source_arm=("https://cache.agilebits.com/dist/1P/op2/pkg/v${pkgver}/op_linux_arm_v${pkgver}.zip") source_armv6h=("${source_arm}") source_aarch64=("https://cache.agilebits.com/dist/1P/op2/pkg/v${pkgver}/op_linux_arm64_v${pkgver}.zip") sha256sums_x86_64=('d7d9699546968b1d23d4e909dc57d6e0445bb1ccc7f5fc74526ebdd05f048446') sha256sums_i686=('950d5a6aa25c310df2286a6f0cd888b5fcbfe456dc5ca3dff9d89cd0d0e35c55') sha256sums_arm=('4247733b785748baa06426f8d730eb0d17c5a7d6738fac450c873c3157636a3b') sha256sums_armv6h=("${sha256sums_arm}") sha256sums_aarch64=('c7307a913e35f0c45f05eb1a5cba5344a33bda1f5126a427d469f11da74a21e3') check() { if (( ! SKIPPGPCHECK )); then gpg --verify-files ${srcdir}/op.sig fi } package() { install -Dm755 op "${pkgdir}"/usr/bin/op install -d 755 "${pkgdir}"/usr/share/zsh/site-functions "${pkgdir}"/usr/bin/op completion zsh > "${pkgdir}"/usr/share/zsh/site-functions/_op } # vim:set ts=2 sw=2 et: