Date: Thursday, June 12, 2014 @ 17:24:58 Author: alucryd Revision: 113068
archrelease: copy trunk to community-any Added: ruby-treetop/repos/community-any/PKGBUILD (from rev 113067, ruby-treetop/trunk/PKGBUILD) Deleted: ruby-treetop/repos/community-any/PKGBUILD ----------+ PKGBUILD | 58 +++++++++++++++++++++++++++++----------------------------- 1 file changed, 29 insertions(+), 29 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2014-06-12 15:24:41 UTC (rev 113067) +++ PKGBUILD 2014-06-12 15:24:58 UTC (rev 113068) @@ -1,29 +0,0 @@ -# $Id$ -# Maintainer: Maxime Gauduin <alucryd@gmail@com> -# Contributor: Emiliano Vavassori <syntaxerror...@gmail.com> -# Contributor: Guilherme Nogueira <guilhe...@nirev.org> - -pkgname=ruby-treetop -pkgver=1.5.1 -pkgrel=1 -pkgdesc='A Ruby-based text parsing and interpretation DSL' -arch=('any') -url='http://treetop.rubyforge.org/' -license=('MIT') -depends=('ruby-polyglot') -options=('!emptydirs') -source=("http://rubygems.org/downloads/${pkgname#*-}-${pkgver}.gem") -noextract=("${pkgname#*-}-$pkgver.gem") -sha256sums=('0ceaa4c41efe3fca33d23b8743b086696df2cab7a2f334f3ba2a1a262f55b921') - -package() { - local _gemdir="$(ruby -e'puts Gem.default_dir')" - - gem install --ignore-dependencies --no-user-install -N -i "${pkgdir}"/${_gemdir} -n "${pkgdir}"/usr/bin ${pkgname#*-}-${pkgver}.gem - find "${pkgdir}" -type f -name *.gem -delete - - install -dm 755 "${pkgdir}"/usr/share/licenses/${pkgname} - ln -s ${_gemdir}/gems/${pkgname#*-}-${pkgver}/LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/ -} - -# vim: ts=2 sw=2 et: Copied: ruby-treetop/repos/community-any/PKGBUILD (from rev 113067, ruby-treetop/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2014-06-12 15:24:58 UTC (rev 113068) @@ -0,0 +1,29 @@ +# $Id$ +# Maintainer: Maxime Gauduin <alucryd@gmail@com> +# Contributor: Emiliano Vavassori <syntaxerror...@gmail.com> +# Contributor: Guilherme Nogueira <guilhe...@nirev.org> + +pkgname=ruby-treetop +pkgver=1.5.3 +pkgrel=1 +pkgdesc='A Ruby-based text parsing and interpretation DSL' +arch=('any') +url='http://treetop.rubyforge.org/' +license=('MIT') +depends=('ruby-polyglot') +options=('!emptydirs') +source=("http://rubygems.org/downloads/${pkgname#*-}-${pkgver}.gem") +noextract=("${pkgname#*-}-$pkgver.gem") +sha256sums=('ab3c49c3a39e7c9bea88a90524545e39bed032758a130295f8d6a433c62ff472') + +package() { + local _gemdir="$(ruby -e'puts Gem.default_dir')" + + gem install --ignore-dependencies --no-user-install -N -i "${pkgdir}"/${_gemdir} -n "${pkgdir}"/usr/bin ${pkgname#*-}-${pkgver}.gem + find "${pkgdir}" -type f -name *.gem -delete + + install -dm 755 "${pkgdir}"/usr/share/licenses/${pkgname} + ln -s ${_gemdir}/gems/${pkgname#*-}-${pkgver}/LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/ +} + +# vim: ts=2 sw=2 et: