summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a0c3b058c6b1bae63be1e652bb16f381ab09e5d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Maintainer: slurpee <aur@lylat.io>
# Contributors: Felix Seidel, Claudia Pellegrino, Liu Yuxuan

pkgname=1password-cli
pkgver=0.9.1
pkgrel=1
pkgdesc="1Password command line tool"
arch=('x86_64' 'i686' 'arm' 'armv6h' 'aarch64')
url="https://app-updates.agilebits.com/product_history/CLI"
license=('custom')
options=('!strip' '!emptydirs')

source_x86_64=("https://cache.agilebits.com/dist/1P/op/pkg/v${pkgver}/op_linux_amd64_v${pkgver}.zip")
source_i686=("https://cache.agilebits.com/dist/1P/op/pkg/v${pkgver}/op_linux_386_v${pkgver}.zip")
source_arm=("https://cache.agilebits.com/dist/1P/op/pkg/v${pkgver}/op_linux_arm_v${pkgver}.zip")
source_armv6h=("${source_arm}")
source_aarch64=("${source_arm}")

sha256sums_x86_64=('a0a0a574550797777661df57ae6072f31434f1299d0b33e15c37c40e63dbb46d')
sha256sums_i686=('6d2626769b89b02432d90524fdcf6c89b970a1dbfbeade92445779cd8edc5369')
sha256sums_arm=('d76c5d9a06aba6d7ad3e17e3821c8f133f8d9191c4dd5d44dcf82d63c8a51dd5')
sha256sums_armv6h=('d76c5d9a06aba6d7ad3e17e3821c8f133f8d9191c4dd5d44dcf82d63c8a51dd5')
sha256sums_aarch64=('d76c5d9a06aba6d7ad3e17e3821c8f133f8d9191c4dd5d44dcf82d63c8a51dd5')

check() {
  if (( ! SKIPPGPCHECK )); then
    gpg --verify-files ${srcdir}/op.sig
  fi
}

package() {
  install -Dm755 op "$pkgdir/usr/bin/op"
}

# vim:set ts=2 sw=2 et: