blob: f217bfb8164e0438c6269411062cc0e2321ae298 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Generated by gem2arch (https://github.com/anatol/gem2arch)
# Maintainer: Hao Long <aur@esd.cc>
_gemname=evil-winrm
pkgname=ruby-$_gemname
pkgver=3.7
pkgrel=1
pkgdesc='Evil-WinRM'
arch=(any)
url='https://github.com/Hackplayers/evil-winrm'
license=(LGPL-3.0)
depends=(ruby ruby-winrm ruby-winrm-fs ruby-stringio ruby-nori)
options=(!emptydirs)
source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
noextract=($_gemname-$pkgver.gem)
b2sums=('91e5b3f48d4e2040ff0db6c28c3dd6293a87467800dd9365637acf94384fe63a2d99b0fbcc85c1023eb258956aa2cb1c1af270000f6c8d9a79885d35f5ac15b9')
package() {
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"
}
|