Date: Saturday, April 7, 2018 @ 15:30:15 Author: anthraxx Revision: 314865
archrelease: copy trunk to community-any Added: ruby-async-io/repos/community-any/PKGBUILD (from rev 314864, ruby-async-io/trunk/PKGBUILD) Deleted: ruby-async-io/repos/community-any/PKGBUILD ----------+ PKGBUILD | 75 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 38 insertions(+), 37 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-04-07 15:30:08 UTC (rev 314864) +++ PKGBUILD 2018-04-07 15:30:15 UTC (rev 314865) @@ -1,37 +0,0 @@ -# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> - -_gemname=async-io -pkgname=ruby-${_gemname} -pkgver=1.4.0 -pkgrel=1 -pkgdesc='Provides support for asynchonous TCP, UDP, UNIX and SSL sockets' -url='https://github.com/socketry/async-io' -arch=('any') -license=('MIT') -depends=('ruby' 'ruby-async') -makedepends=('ruby-rdoc') -options=('!emptydirs') -source=(${pkgname}-${pkgver}.tar.gz::https://github.com/socketry/async-io/archive/v${pkgver}.tar.gz) -sha256sums=('cc47b33b8f7e076b319376ecff0cf7b14a35350fb74b184a3e0d2998e6a5a765') -sha512sums=('723e7e27c0ee42025fb5e0beff1f4689d4410653553632a5f5a57f1f5c160e8dc083c06e200dc887078b8ff7d2c84d3b5a80c9d3993616f39222da9214d7401d') - -prepare() { - cd ${_gemname}-${pkgver} - sed 's|git ls-files|find|' -i ${_gemname}.gemspec - sed 's|~>|>=|g' -i ${_gemname}.gemspec # don't give a fuck about rubys bla bla -} - -build() { - cd ${_gemname}-${pkgver} - gem build ${_gemname}.gemspec -} - -package() { - cd ${_gemname}-${pkgver} - local _gemdir="$(gem env gemdir)" - gem install --ignore-dependencies --no-user-install -i "${pkgdir}/${_gemdir}" -n "${pkgdir}/usr/bin" ${_gemname}-${pkgver}.gem - install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}" - rm "${pkgdir}"/${_gemdir}/cache/${_gemname}-${pkgver}.gem -} - -# vim: ts=2 sw=2 et: Copied: ruby-async-io/repos/community-any/PKGBUILD (from rev 314864, ruby-async-io/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-04-07 15:30:15 UTC (rev 314865) @@ -0,0 +1,38 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> + +_gemname=async-io +pkgname=ruby-${_gemname} +pkgver=1.6.1 +pkgrel=1 +pkgdesc='Provides support for asynchonous TCP, UDP, UNIX and SSL sockets' +url='https://github.com/socketry/async-io' +arch=('any') +license=('MIT') +depends=('ruby' 'ruby-async') +makedepends=('ruby-rdoc') +options=('!emptydirs') +source=(${pkgname}-${pkgver}.tar.gz::https://github.com/socketry/async-io/archive/v${pkgver}.tar.gz) +sha256sums=('d5ab8df346342cc8396817e31f22eee0134842d03f061307bbd663690c862163') +sha512sums=('b16c0c93b0a74027c72826372263ca99f3fb4b3c8fe65ffcf4213f30c212b98b27e3677d5b52fb8a4ffeaac580d633de41a5bfb596afbd95a0e4517440b6ce60') + +prepare() { + cd ${_gemname}-${pkgver} + sed 's|git ls-files|find|' -i ${_gemname}.gemspec + sed 's|~>|>=|g' -i ${_gemname}.gemspec # don't give a fuck about rubys bla bla +} + +build() { + cd ${_gemname}-${pkgver} + gem build ${_gemname}.gemspec +} + +package() { + cd ${_gemname}-${pkgver} + local _gemdir="$(gem env gemdir)" + gem install --ignore-dependencies --no-user-install -i "${pkgdir}/${_gemdir}" -n "${pkgdir}/usr/bin" ${_gemname}-${pkgver}.gem + install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}" + install -Dm 644 README.md -t "${pkgdir}/usr/share/licenses/${pkgname}" + rm "${pkgdir}"/${_gemdir}/cache/${_gemname}-${pkgver}.gem +} + +# vim: ts=2 sw=2 et: