Package Details: sops 3.6.0-1

Git Clone URL: https://aur.archlinux.org/sops.git (read-only, click to copy)
Package Base: sops
Description: Editor of encrypted files that supports YAML, JSON and BINARY formats
Upstream URL: https://github.com/mozilla/sops
Keywords: aws devops pgp secret-distribution security
Licenses: MPL2
Submitter: dmgk
Maintainer: mjboa
Last Packager: mjboa
Votes: 4
Popularity: 0.000586
First Submitted: 2018-01-25 13:47
Last Updated: 2020-07-16 07:51

Dependencies (2)

Required by (1)

Sources (1)

Latest Comments

mjboa commented on 2020-04-07 08:26

Sure, you can make a PR yourself if you want: https://github.com/michaelbeaumont/aur-packages/tree/master/sops

matthias.lisin commented on 2020-04-06 18:54

Hi, could you consider some minor improvements to this package?

PKGBUILD:

# Maintainer: Michael Beaumont <mjboamail@gmail.com>
# URL: https://github.com/michaelbeaumont/aur-packages

pkgname=sops
pkgver=3.5.0
pkgrel=2
pkgdesc='Editor of encrypted files that supports YAML, JSON and BINARY formats'
arch=('i686' 'x86_64' 'aarch64')
url='https://github.com/mozilla/sops'
license=('MPL2')
depends=('glibc')
makedepends=('go')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
sha256sums=('a9c257dc5ddaab736dce08b8c5b1f00e6ca1e3171909b6d7385689044ebe759b')

build() {
  cd "${pkgname}-${pkgver}"
  export CGO_LDFLAGS="$LDFLAGS"
  export GOFLAGS='-buildmode=pie -modcacherw -trimpath'
  go build -o "$pkgname" ./cmd/sops/
}

check() {
  cd "${pkgname}-${pkgver}"
  go test
}

package() {
  cd "${pkgname}-${pkgver}"
  install -Dm755 sops "${pkgdir}/usr/bin/${pkgname}"
  install -Dm644 README.rst "${pkgdir}/usr/share/doc/${pkgname}/README.rst"
}

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

pulpo commented on 2019-12-29 01:28

Could the arch aarch64 be added? I've build it on my raspi4 and it worked. In the PKGBUILD the arch array should be arch=('i686' 'x86_64' 'aarch64')

Thanks!

mrhanky commented on 2019-07-25 09:26

Can we set "GO111MODULE=off" in the PKGBUILD? I'm using the new go modules but sops doesn't seem to use them. Need to explicit set the above variable to off in order to update sops.