Skip to content

@joschi /PKGBUiLD secret
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
PKGBUILD for thor 0.15.2
# Maintainer: Alexsandr Pavlov <kidoz at mail dot ru>
# Contributor: Gigamo <gigamo@gmail.com>
# Contributor: Jochen Schalanda <jochen+aur@schalanda.name>
pkgname=ruby-thor
_gemname=${pkgname#ruby-}
pkgver=0.15.2
pkgrel=1
pkgdesc="A scripting framework that replaces rake, sake and rubigen."
arch=('any')
url="http://github.com/wycats/thor"
license=('MIT')
depends=('ruby' 'rubygems')
source=(http://rubygems.org/downloads/${_gemname}-${pkgver}.gem)
noextract=(${_gemname}-${pkgver}.gem)
md5sums=('8658debfdeb671881043ee0b86ddd01c')
build() {
cd "${srcdir}"
export HOME=/tmp
local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
gem install --no-user-install --ignore-dependencies -i "${pkgdir}${_gemdir}" -n "${pkgdir}/usr/bin" ${_gemname}-${pkgver}.gem
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.