blob: 8bc4a43c22f987c21eac4344497644d8271ed5fd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# Maintainer: Tom Vincent <aur@tlvince.com>
pkgname=ruby-gli
_gemname=gli
pkgver=2.22.0 # renovate: datasource=rubygems depName=gli
pkgrel=1
pkgdesc="Make awesome command-line applications the easy way"
arch=('any')
url="https://github.com/davetron5000/gli"
license=('Apache-2.0')
depends=('ruby')
makedepends=('rubygems')
source=("https://rubygems.org/downloads/$_gemname-$pkgver.gem")
noextract=("${_gemname}-${pkgver}.gem")
md5sums=('ceb9bcb609cb67cc9768c386f2bb3b2d')
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"
}
|