[arch-commits] Commit in gitlab-shell/trunk (PKGBUILD)

Sven-Hendrik Haase svenstaro at archlinux.org
Tue Jan 17 09:13:22 UTC 2017


    Date: Tuesday, January 17, 2017 @ 09:13:21
  Author: svenstaro
Revision: 207677

upgpkg: gitlab-shell 1:4.1.1-2

Use ruby2.3 instead of ruby

Modified:
  gitlab-shell/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-01-17 09:04:43 UTC (rev 207676)
+++ PKGBUILD	2017-01-17 09:13:21 UTC (rev 207677)
@@ -8,13 +8,13 @@
 
 pkgname=gitlab-shell
 pkgver=4.1.1
-pkgrel=1
+pkgrel=2
 epoch=1
 pkgdesc="Git management software"
 arch=('any')
 url="https://gitlab.com/gitlab-org/gitlab-shell/"
 license=('MIT')
-depends=('ruby' 'redis' 'git')
+depends=('ruby2.3' 'redis' 'git')
 options=('!strip')
 install=gitlab-shell.install
 backup=("etc/webapps/${pkgname}/config.yml"
@@ -76,6 +76,10 @@
 
   install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
   install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
+
+  for file in ${pkgdir}/usr/share/webapps/gitlab-shell/bin/*; do
+    sed -i s/ruby/ruby-2.3/g ${file}
+  done
 }
 
 # vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list