update all the packages, remove some unneeded ones
This commit is contained in:
23
src/ruby-ethon/PKGBUILD
Normal file
23
src/ruby-ethon/PKGBUILD
Normal file
@@ -0,0 +1,23 @@
|
||||
# Generated by gem2arch (https://github.com/anatol/gem2arch)
|
||||
# Maintainer: Carsten Feuls <archlinux@carstenfeuls.de>
|
||||
|
||||
_gemname=ethon
|
||||
pkgname=ruby-$_gemname
|
||||
pkgver=0.11.0
|
||||
pkgrel=1
|
||||
pkgdesc='Libcurl wrapper.'
|
||||
arch=(any)
|
||||
url='https://github.com/typhoeus/ethon'
|
||||
license=(MIT)
|
||||
depends=('ruby' 'ruby-ffi')
|
||||
options=(!emptydirs)
|
||||
source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
|
||||
noextract=($_gemname-$pkgver.gem)
|
||||
|
||||
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"
|
||||
install -D -m644 "$pkgdir/$_gemdir/gems/$_gemname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
}
|
||||
sha512sums=('271ff2ce5578352722bab318ad40f06d9c76fdbdead573a015fed0a38f3fd6341bcf70acedaa9470fe97f47069977b09ac9f71d8dacb21b67aad917c2a078c72')
|
Reference in New Issue
Block a user