FS#14697 - [abs] Include PKGBUILD-rubygem.proto
Attached to Project:
Arch Linux
Opened by Gavin Bisesi (Daenyth) - Tuesday, 12 May 2009, 14:28 GMT
Last edited by Allan McRae (Allan) - Sunday, 14 June 2009, 03:43 GMT
Opened by Gavin Bisesi (Daenyth) - Tuesday, 12 May 2009, 14:28 GMT
Last edited by Allan McRae (Allan) - Sunday, 14 June 2009, 03:43 GMT
|
Details
Please include this prototype PKGBUILD in ABS. I'd like it
named PKGBUILD-rubygem rather than -ruby, as Garoth is
working on creating a template for building from the gemspec
instead of using rubygems.
Thanks. # Contributor: YourName <YourEmail AT example DOT com> pkgname=ruby-GEMNAME # All lowercase pkgver=GEMVERSION pkgrel=1 pkgdesc="Ruby gem FooBar which implements BazQuux" arch=(any) url="" license=() depends=(ruby) # Gem may depend on other gems as well (you can get dependency information from the yaml specification) makedepends=(rubygems) source=(http://gems.rubyforge.org/gems/GEMNAME-$pkgver.gem) noextract=(GEMNAME-$pkgver.gem) md5sums=() build() { cd $srcdir # _gemdir is defined inside build() because if ruby[gems] is not installed on the system # makepkg will barf when sourcing the PKGBUILD local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" gem install --ignore-dependencies -i "$pkgdir$_gemdir" GEMNAME-$pkgver.gem } # vim:set ts=2 sw=2 et: |
This task depends upon
Closed by Allan McRae (Allan)
Sunday, 14 June 2009, 03:43 GMT
Reason for closing: Implemented
Additional comments about closing: Added prototype to git
Sunday, 14 June 2009, 03:43 GMT
Reason for closing: Implemented
Additional comments about closing: Added prototype to git
Comment by Allan McRae (Allan) -
Wednesday, 13 May 2009, 14:10 GMT
Comment by Gavin Bisesi (Daenyth) -
Wednesday, 13 May 2009, 14:35 GMT
Comment by Allan McRae (Allan) -
Wednesday, 13 May 2009, 14:39 GMT
Comment by Gavin Bisesi (Daenyth) -
Wednesday, 13 May 2009, 18:03 GMT
Comment by Allan McRae (Allan) -
Sunday, 14 June 2009, 03:42 GMT
So, which template will be prefered once the gemspec version is
available? I'd prefer to only include the "best" as a prototype.
Fair enough. I think it still makes sense to have the gem version
until the gemspec version is available, as that's better than
having none at all, but I'm fine with this being deferred until
the other template is complete.
Well, it depends how far in the future the gemspec version will be
available. I do not foresee an ABS release in the near future...
I'm not sure, I'll look into it.
In ABS git:
http://projects.archlinux.org/?p=abs.git;a=commit;h=71cd3c47