Date: Sunday, May 25, 2014 @ 03:49:49 Author: alucryd Revision: 111803
archrelease: copy trunk to community-any Added: ruby-mime-types/repos/community-any/PKGBUILD (from rev 111802, ruby-mime-types/trunk/PKGBUILD) Deleted: ruby-mime-types/repos/community-any/PKGBUILD ----------+ PKGBUILD | 58 +++++++++++++++++++++++++++++----------------------------- 1 file changed, 29 insertions(+), 29 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2014-05-25 01:49:08 UTC (rev 111802) +++ PKGBUILD 2014-05-25 01:49:49 UTC (rev 111803) @@ -1,29 +0,0 @@ -# $Id$ -# Maintainer: Maxime Gauduin <aluc...@gmail.com> -# Contributor: Alexsandr Pavlov <ki...@mail.ru> - -pkgname=ruby-mime-types -pkgver=2.2 -pkgrel=1 -pkgdesc='MIME Content-Type database' -arch=('any') -url='http://mime-types.rubyforge.org' -license=('GPL2' 'MIT' 'PerlArtistic') -depends=('ruby') -options=('!emptydirs') -source=("http://rubygems.org/downloads/${pkgname#*-}-${pkgver}.gem") -noextract=("${pkgname#*-}-${pkgver}.gem") -sha256sums=('fb20b5fb6b25c2b8abbf74b21b82c6e14ae1e3ed5146ec23d305333c9c360bc6') - -package() { - local _gemdir="$(ruby -e'puts Gem.default_dir')" - - gem install --ignore-dependencies --no-user-install -N -i "${pkgdir}"/${_gemdir} ${pkgname#*-}-${pkgver}.gem - find "${pkgdir}" -type f -name *.gem -delete - - install -dm 755 "${pkgdir}"/usr/share/licenses/${pkgname} - ln -s ${_gemdir}/gems/${pkgname#*-}-${pkgver}/Licence.rdoc "${pkgdir}"/usr/share/licenses/${pkgname}/ - ln -s ${_gemdir}/gems/${pkgname#*-}-${pkgver}/docs/COPYING.txt "${pkgdir}"/usr/share/licenses/${pkgname}/ -} - -# vim: ts=2 sw=2 et: Copied: ruby-mime-types/repos/community-any/PKGBUILD (from rev 111802, ruby-mime-types/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2014-05-25 01:49:49 UTC (rev 111803) @@ -0,0 +1,29 @@ +# $Id$ +# Maintainer: Maxime Gauduin <aluc...@gmail.com> +# Contributor: Alexsandr Pavlov <ki...@mail.ru> + +pkgname=ruby-mime-types +pkgver=2.3 +pkgrel=1 +pkgdesc='MIME Content-Type database' +arch=('any') +url='http://mime-types.rubyforge.org' +license=('GPL2' 'MIT' 'PerlArtistic') +depends=('ruby') +options=('!emptydirs') +source=("http://rubygems.org/downloads/${pkgname#*-}-${pkgver}.gem") +noextract=("${pkgname#*-}-${pkgver}.gem") +sha256sums=('6d13658a740d7ce3cbd285a1a60f7f42db56923c37a33cae8ed5252cf2e71548') + +package() { + local _gemdir="$(ruby -e'puts Gem.default_dir')" + + gem install --ignore-dependencies --no-user-install -N -i "${pkgdir}"/${_gemdir} ${pkgname#*-}-${pkgver}.gem + find "${pkgdir}" -type f -name *.gem -delete + + install -dm 755 "${pkgdir}"/usr/share/licenses/${pkgname} + ln -s ${_gemdir}/gems/${pkgname#*-}-${pkgver}/Licence.rdoc "${pkgdir}"/usr/share/licenses/${pkgname}/ + ln -s ${_gemdir}/gems/${pkgname#*-}-${pkgver}/docs/COPYING.txt "${pkgdir}"/usr/share/licenses/${pkgname}/ +} + +# vim: ts=2 sw=2 et: