blob: 5af4fee05d0ed6eab571945fc364441acbc17411 (
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
|
# Generated by gem2arch (https://github.com/anatol/gem2arch)
# Maintainer: Justin Dray <justin@dray.be>
_gemname=hiera-eyaml
pkgname=ruby-$_gemname
pkgver=4.2.0
pkgrel=1
pkgdesc='OpenSSL Encryption backend for Hiera'
arch=(any)
url='https://github.com/voxpupuli/hiera-eyaml'
license=(MIT)
depends=(ruby ruby-optimist ruby-highline)
makedepends=(git ruby-rdoc)
options=(!emptydirs)
source=(${_gemname}-${pkgver}::git+https://github.com/voxpupuli/hiera-eyaml?signed#tag=v${pkgver})
noextract=($_gemname-$pkgver.gem)
validpgpkeys=('C10B6298A584A5632E254DA304D659E6BF1C4CC0')
sha256sums=('48010486e8a9cb48049f03efe256d36d4890295fff6c0356788e2b3d5c8043ad')
build() {
cd ${_gemname}-${pkgver}
gem build ${_gemname}.gemspec
}
package() {
cd ${_gemname}-${pkgver}
local _gemdir="$(ruby -e'puts Gem.default_dir')"
gem install --ignore-dependencies --no-user-install -i "$pkgdir/$_gemdir" -n "$pkgdir/usr/bin" $_gemname-$pkgver.gem
rm "$pkgdir/$_gemdir/cache/$_gemname-$pkgver.gem"
install -D -m644 "$pkgdir/$_gemdir/gems/$_gemname-$pkgver/LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
}
|