[arch-commits] Commit in ruby27-httpclient/trunk (PKGBUILD)

Tim Meusel bastelfreak at archlinux.org
Sun May 16 19:24:15 UTC 2021


    Date: Sunday, May 16, 2021 @ 19:24:15
  Author: bastelfreak
Revision: 935940

prefix executable with ruby27- to prevent conflicts

Modified:
  ruby27-httpclient/trunk/PKGBUILD

----------+
 PKGBUILD |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-16 19:21:23 UTC (rev 935939)
+++ PKGBUILD	2021-05-16 19:24:15 UTC (rev 935940)
@@ -6,7 +6,7 @@
 _gemname='httpclient'
 pkgname="ruby27-${_gemname}"
 pkgver=2.8.3
-pkgrel=1
+pkgrel=2
 pkgdesc='gives something like the functionality of libwww-perl (LWP) in Ruby'
 arch=('any')
 url="https://github.com/nahi/${_gemname}"
@@ -55,6 +55,8 @@
   install -Dm 644 README.md CHANGELOG.md -t "${pkgdir}/usr/share/doc/${pkgname}/"
 
   rm -rf "${pkgdir}/${_gemdir}/cache"
+
+  mv "${pkgdir}/usr/bin/${_gemname}" "${pkgdir}/usr/bin/ruby27-${_gemname}"
 }
 
 # vim: ts=2 sw=2 et:



More information about the arch-commits mailing list