community/gitlab to 10.0.3-2

This commit is contained in:
Kevin Mihelich 2017-10-10 00:56:30 +00:00
parent e300b7edfe
commit 9e7df6dbf9

View file

@ -12,7 +12,7 @@
pkgname=gitlab
pkgver=10.0.3
pkgrel=1
pkgrel=2
pkgdesc="Project management and code hosting application"
arch=('x86_64')
url="https://gitlab.com/gitlab-org/gitlab-ce"
@ -177,6 +177,12 @@ package() {
# Fix for ruby-2.3 and bundle-2.3
sed -i "s|bundle|bundle-2.3|g" "${pkgdir}${_datadir}/lib/tasks/gitlab/check.rake"
grep -rl "bin/env ruby" "${pkgdir}${_datadir}" | xargs sed -i "s|bin/env ruby$|bin/env ruby-2.3|g"
sed -i \
-e "s|ruby --version|ruby-2.3 --version|g" \
-e "s|gem --version|gem-2.3 --version|g" \
-e "s|bundle --version|bundle-2.3 --version|g" \
-e "s|rake --version|rake-2.3 --version|g" \
"${pkgdir}${_datadir}/lib/tasks/gitlab/info.rake"
# Install config files
for config_file in application.rb gitlab.yml unicorn.rb resque.yml; do