[arch-commits] Commit in gitlab-gitaly/trunk (PKGBUILD)
Anatol Pomozov
anatolik at archlinux.org
Thu Mar 26 21:14:46 UTC 2020
Date: Thursday, March 26, 2020 @ 21:14:46
Author: anatolik
Revision: 604705
upgpkg: gitlab-gitaly 12.9.1-1
Modified:
gitlab-gitaly/trunk/PKGBUILD
----------+
PKGBUILD | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-26 21:14:45 UTC (rev 604704)
+++ PKGBUILD 2020-03-26 21:14:46 UTC (rev 604705)
@@ -4,7 +4,7 @@
# commit log for an old fix on how to tell it to use older versions of Ruby. I'm afraid we'll
# need this again at some point in the future.
pkgname=gitlab-gitaly
-pkgver=12.9.0
+pkgver=12.9.1
pkgrel=1
pkgdesc="Speed up Git access using caching"
arch=('x86_64')
@@ -14,15 +14,16 @@
options=(!buildflags)
makedepends=(go ruby-bundler cmake)
backup=("etc/gitlab-gitaly/config.toml")
-source=("${pkgname}-${pkgver}.tar.gz::https://gitlab.com/api/v4/projects/gitlab-org%2Fgitaly/repository/archive?sha=v${pkgver}"
+_tag=v${pkgver}
+source=("https://gitlab.com/gitlab-org/gitaly/-/archive/${_tag}/gitaly-${_tag}.tar.gz"
"gitlab-gitaly.service")
-sha512sums=('c427ed72e7c938054bcd041a227f4a1839a65abdc819648f624cc8ef680d79105c7c7caa4a9b33cc1ca673b8b9d65d44ce9a1e4a10866473785caa8019317d21'
+sha512sums=('9595c75dcf087b0142b9c4efec0a34ee37a8c110ddbcdd80b1d243e102ccf2c94486f4f960cf9bbac0ea20a5653fc87b61d971621bb4ad7f9cec052b276e1349'
'b330c0f42592322ad2131079ca554a13a364007182dded8c556198caff2c9ec642acf5bb7dfecb05de5a3d89bffec6588b6d05c8c7c5c771a46df3d296deed28')
_homedir="/var/lib/gitlab"
prepare() {
- cd "gitaly-"*
+ cd gitaly-$_tag
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
@@ -33,7 +34,7 @@
}
build() {
- cd "gitaly-"*
+ cd gitaly-$_tag
bundle config force_ruby_platform true # build from sources as some prebuilt gems are not available for newer ruby
make BUILD_TAGS="tracer_static tracer_static_jaeger"
@@ -40,7 +41,7 @@
}
package() {
- cd "gitaly-"*
+ cd gitaly-$_tag
make PREFIX=/usr DESTDIR=${pkgdir} install
mkdir -p "${pkgdir}/etc/${pkgname}"
More information about the arch-commits
mailing list