diff options
author | Bruno Galeotti | 2015-06-08 15:36:20 -0300 |
---|---|---|
committer | Bruno Galeotti | 2015-06-08 15:36:20 -0300 |
commit | 14340da05846a2deab844d80a0183265fc271053 (patch) | |
tree | 2d74dbcacb7d565237063ea67b7e47a695c9ad83 /PKGBUILD | |
download | aur-14340da05846a2deab844d80a0183265fc271053.tar.gz |
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..8a4a6562eae0 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,20 @@ +# Contributor: Bruno Galeotti <bgaleotti at gmail dot com> +pkgname=ruby-capistrano-maintenance +_gemname=${pkgname#ruby-} +pkgver=0.0.2 +pkgrel=1 +pkgdesc='This gem simply offers the recently removed deploy:web:disable and deploy:web:enable tasks to your Capistrano deployment.' +arch=('any') +url='http://rubygems.org/gems/capistrano-maintenance' +license=('Custom') +depends=('ruby' 'rubygems') +source=(http://rubygems.org/downloads/${_gemname}-${pkgver}.gem) +noextract=(${_gemname}-${pkgver}.gem) +md5sums=('959dc359a7d0e4eb13fc553aa4227440') + +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}" ${_gemname}-${pkgver}.gem +} |