Date: Thursday, August 10, 2017 @ 12:48:46 Author: svenstaro Revision: 249715
upgpkg: gitlab-gitaly 0.29.0-3 Install gitaly-ruby Modified: gitlab-gitaly/trunk/PKGBUILD ----------+ PKGBUILD | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-08-10 11:40:59 UTC (rev 249714) +++ PKGBUILD 2017-08-10 12:48:46 UTC (rev 249715) @@ -2,12 +2,12 @@ pkgname=gitlab-gitaly pkgver=0.29.0 -pkgrel=2 +pkgrel=3 pkgdesc="Speed up Git access using caching" arch=('x86_64') url="https://gitlab.com/gitlab-org/gitaly" license=('MIT') -depends=('glibc') +depends=('glibc' 'ruby2.3') options=(!buildflags) makedepends=('go' 'ruby2.3-bundler' 'cmake') backup=("etc/gitlab-gitaly/config.toml") @@ -24,6 +24,7 @@ sed -i "s/bundle install/bundle-2.3 install/" Makefile sed -i "s/VERSION = .*/VERSION = ${pkgver}/" Makefile sed -i "s/env ruby/env ruby-2.3/" ruby/bin/gitaly-ruby + sed -i "s|dir = \"/home/git/gitaly/ruby\"|dir = \"/usr/share/webapps/gitlab-gitaly/ruby\"|" config.toml.example sed -i "s|dir = \"/home/git/gitlab-shell\"|dir = \"/usr/share/webapps/gitlab-shell\"|" config.toml.example } @@ -37,6 +38,9 @@ -e "s|^path =.*|path = \"${_homedir}/repositories\"|" \ config.toml.example > "${pkgdir}/etc/${pkgname}/config.toml" + mkdir -p ${pkgdir}/usr/share/webapps/gitlab-gitaly + cp -r ruby ${pkgdir}/usr/share/webapps/gitlab-gitaly/ruby + install -Dm644 config.toml.example "${pkgdir}/usr/share/${pkgname}/config.toml.example" install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" install -Dm0644 "${srcdir}/gitlab-gitaly.service" "${pkgdir}/usr/lib/systemd/system/gitlab-gitaly.service"