diff options
author | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2013-09-15 15:37:33 -0300 |
---|---|---|
committer | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2013-09-15 15:37:33 -0300 |
commit | 5d514cbf527b6ccecad5e37c6826d8463fe68e2a (patch) | |
tree | afb20f8578b3b6aeb0557ab5cd61c857bd11a825 /pcr/ruby1-bundler/PKGBUILD | |
parent | 10bd709cadf3c31c0f27335e6238496709cf30ac (diff) | |
download | abslibre-5d514cbf527b6ccecad5e37c6826d8463fe68e2a.tar.gz abslibre-5d514cbf527b6ccecad5e37c6826d8463fe68e2a.tar.bz2 abslibre-5d514cbf527b6ccecad5e37c6826d8463fe68e2a.zip |
updating ruby-bundler
Diffstat (limited to 'pcr/ruby1-bundler/PKGBUILD')
-rw-r--r-- | pcr/ruby1-bundler/PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pcr/ruby1-bundler/PKGBUILD b/pcr/ruby1-bundler/PKGBUILD new file mode 100644 index 000000000..d06f7af08 --- /dev/null +++ b/pcr/ruby1-bundler/PKGBUILD @@ -0,0 +1,27 @@ +# Contributor: Alexsandr Pavlov <kidoz at mail dot ru> +# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com> + +_pkgname=bundler +pkgname=ruby1-$_pkgname +pkgver=1.3.5 +pkgrel=1 +pkgdesc="Is manages an application's dependencies through its entire life, across many machines, systematically and repeatably." +arch=any +url=http://gem$_pkgname.com +license=MIT +depends=ruby1 +source=http://rubygems.org/downloads/$_pkgname-$pkgver.gem +noextract=$_pkgname-$pkgver.gem +sha256sums=08b89047f7b829f3e197a28fb1bde74c3f5cfea1552f99dfba237fee30eaffe4 + +package() { + cd $srcdir + + local _gemdir=$(ruby1 -rubygems -e'puts Gem.default_dir') + HOME=/tmp gem1 install --no-user-install --ignore-dependencies\ + -i $pkgdir$_gemdir -n $pkgdir/usr/bin\ + $_pkgname-$pkgver.gem + + msg "renaming $_pkgname to ${_pkgname}1" + mv -v $pkgdir/usr/bin/${_pkgname%r}{,1} +} |