ruby-hiera-eyaml-gpg
maintainer Joboy
· 0 votes
· scanned 2026-08-18 01:38:17.845211
LOW
View on AUR ↗
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Triggered rules
LOW
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
# Maintainer: Jonas Verhofsté <jonas@verhofste.tech>
2
3
_gemname=hiera-eyaml-gpg
4
pkgname=ruby-$_gemname
5
pkgver=0.7.4
6
pkgrel=2
7
pkgdesc='GPG Encryption backend for Hiera'
8
arch=(any)
9
url='https://github.com/voxpupuli/hiera-eyaml-gpg'
10
license=(MIT)
11
depends=(
12
ruby
13
ruby-gpgme
14
ruby-hiera-eyaml
15
)
16
makedepends=(
17
ruby-rdoc
18
)
19
options=(!emptydirs)
20
source=("${_gemname}-${pkgver}.tar.gz::https://github.com/voxpupuli/hiera-eyaml-gpg/archive/refs/tags/v${pkgver}.tar.gz")
21
sha512sums=('ecea32b79e2b9872d54aa9a81a8bbfec096168fc5ba2a9f11c014a78644a523f12918ff2aa4f7884e3d775a669794a2ff64b8d7e9f62e0d0947d44b4165287bf')
22
23
prepare() {
24
cd "${_gemname}-${pkgver}"
25
26
# update gemspec/Gemfile to allow newer version of the dependencies
27
sed --in-place --regexp-extended 's|~>|>=|g' "${_gemname}.gemspec"
28
29
# we don't build from a git checkout
30
sed --in-place --regexp-extended 's|git ls-files|find . -type f -not -path "*/\.git/*"|' "${_gemname}.gemspec"
31
}
32
33
34
build() {
35
cd "${_gemname}-${pkgver}"
36
37
local _gemdir="$(ruby -e'puts Gem.default_dir')"
38
39
gem build "${_gemname}.gemspec"
40
41
gem install \
42
--local \
43
--verbose \
44
--ignore-dependencies \
45
--build-root "tmp_install" \
46
--no-user-install \
47
-i "${_gemdir}" \
48
"${_gemname}-${pkgver}.gem"
49
50
rm -rf "tmp_install/${_gemdir}/build_info" "tmp_install/${_gemdir}/cache"
51
}
52
53
54
package() {
55
cd "${_gemname}-${pkgver}"
56
57
cp --archive --verbose tmp_install/* "${pkgdir}"
58
59
install --verbose -D --mode=0644 LICENSE --target-directory "${pkgdir}/usr/share/licenses/${pkgname}"
60
}
61
62
Changes since previous scan
--- PKGBUILD @ 2026-08-18 00:03+++ PKGBUILD @ 2026-08-18 01:38@@ -3,14 +3,14 @@ _gemname=hiera-eyaml-gpg pkgname=ruby-$_gemname pkgver=0.7.4-pkgrel=1+pkgrel=2 pkgdesc='GPG Encryption backend for Hiera' arch=(any) url='https://github.com/voxpupuli/hiera-eyaml-gpg' license=(MIT) depends=( ruby- gpgme+ ruby-gpgme ruby-hiera-eyaml ) makedepends=(Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-18 01:38:17 | LOW | 1 |
| 2026-08-18 00:03:42 | CLEAN | 2 |
| 2026-08-17 03:35:16 | LOW | 1 |
| 2026-08-17 00:18:29 | CLEAN | 2 |
| 2026-08-16 23:34:04 | LOW | 1 |