Date: Saturday, April 24, 2021 @ 05:58:01 Author: allan Revision: 923549
archrelease: copy trunk to community-any Added: ruby-rspec-mocks/repos/community-any/PKGBUILD (from rev 923548, ruby-rspec-mocks/trunk/PKGBUILD) Deleted: ruby-rspec-mocks/repos/community-any/PKGBUILD ----------+ PKGBUILD | 54 +++++++++++++++++++++++++++--------------------------- 1 file changed, 27 insertions(+), 27 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-04-24 05:57:44 UTC (rev 923548) +++ PKGBUILD 2021-04-24 05:58:01 UTC (rev 923549) @@ -1,27 +0,0 @@ -# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> -# Contributor: Artem Vorotnikov <ar...@vorotnikov.me> - -_gemname=rspec-mocks -pkgname=ruby-${_gemname} -pkgver=3.8.0 -pkgrel=4 -pkgdesc="RSpecs 'test double' framework, with support for stubbing and mocking" -url='https://github.com/rspec/rspec-mocks' -arch=('any') -license=('MIT') -depends=('ruby-rspec-support' 'ruby-diff-lcs') -options=('!emptydirs') -source=(https://rubygems.org/downloads/${_gemname}-${pkgver}.gem) -noextract=(${_gemname}-${pkgver}.gem) -sha512sums=('00b3b414cc47bc987db76c03f69a88ecb12960c74c3715fcd9a7be0562cf282cbd458709888d0f3718fb03997c7b74816677eae1310b0ac6f215467ede49e89e') - -package() { - local _gemdir="$(ruby -e'puts Gem.default_dir')" - gem install --ignore-dependencies --no-user-install -i "${pkgdir}${_gemdir}" -n "${pkgdir}/usr/bin" ${_gemname}-${pkgver}.gem - find "${pkgdir}" - install -Dm 644 "${pkgdir}${_gemdir}/gems/${_gemname}-${pkgver}/LICENSE.md" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - install -Dm 644 "${pkgdir}${_gemdir}/gems/${_gemname}-${pkgver}/README.md" "${pkgdir}/usr/share/doc/${pkgname}/README" - rm "${pkgdir}/${_gemdir}/cache/${_gemname}-${pkgver}.gem" -} - -# vim: ts=2 sw=2 et: Copied: ruby-rspec-mocks/repos/community-any/PKGBUILD (from rev 923548, ruby-rspec-mocks/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-04-24 05:58:01 UTC (rev 923549) @@ -0,0 +1,27 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Contributor: Artem Vorotnikov <ar...@vorotnikov.me> + +_gemname=rspec-mocks +pkgname=ruby-${_gemname} +pkgver=3.10.2 +pkgrel=1 +pkgdesc="RSpecs 'test double' framework, with support for stubbing and mocking" +url='https://github.com/rspec/rspec-mocks' +arch=('any') +license=('MIT') +depends=('ruby-rspec-support' 'ruby-diff-lcs') +options=('!emptydirs') +source=(https://rubygems.org/downloads/${_gemname}-${pkgver}.gem) +noextract=(${_gemname}-${pkgver}.gem) +sha512sums=('a40a14842bc98d1da767e899a5ffb6aca649202549ab53fe59d83e83d35f0ff902dd8631a0a557806e68b573c6b425f650142faad2b60ced6f6863b8adbff1fd') + +package() { + local _gemdir="$(ruby -e'puts Gem.default_dir')" + gem install --ignore-dependencies --no-user-install -i "${pkgdir}${_gemdir}" -n "${pkgdir}/usr/bin" ${_gemname}-${pkgver}.gem + find "${pkgdir}" + install -Dm 644 "${pkgdir}${_gemdir}/gems/${_gemname}-${pkgver}/LICENSE.md" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -Dm 644 "${pkgdir}${_gemdir}/gems/${_gemname}-${pkgver}/README.md" "${pkgdir}/usr/share/doc/${pkgname}/README" + rm "${pkgdir}/${_gemdir}/cache/${_gemname}-${pkgver}.gem" +} + +# vim: ts=2 sw=2 et: