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

Anatol Pomozov anatolik at archlinux.org
Sun May 3 18:26:21 UTC 2020


    Date: Sunday, May 3, 2020 @ 18:26:21
  Author: anatolik
Revision: 624605

FS#66524 fix backup() array

+ Use new version of the sources download URL

Modified:
  gitlab-shell/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-03 17:45:26 UTC (rev 624604)
+++ PKGBUILD	2020-05-03 18:26:21 UTC (rev 624605)
@@ -19,18 +19,16 @@
 url="https://gitlab.com/gitlab-org/gitlab-shell/"
 license=('MIT')
 depends=('ruby' 'redis' 'git')
-makedepends=('go-pie')
+makedepends=('go')
 options=('!strip')
 install=gitlab-shell.install
 backup=("etc/webapps/${pkgname}/config.yml"
         "etc/webapps/${pkgname}/secret"
-        "etc/webapps/${pkgname}/gitconfig"
-        "etc/webapps/${pkgname}/authorized_keys"
-        "etc/webapps/${pkgname}/")
-source=("${pkgname}-${pkgver}.tar.gz::https://gitlab.com/api/v4/projects/gitlab-org%2Fgitlab-shell/repository/archive?sha=v${pkgver}"
+        "etc/webapps/${pkgname}/.gitconfig")
+source=("${pkgname}-${pkgver}.tar.gz::https://gitlab.com/gitlab-org/gitlab-shell/-/archive/v${pkgver}/gitlab-shell-v${pkgver}.tar.gz"
         "gitlab-shell.gitconfig"
         "gitlab-shell.sysusers")
-sha512sums=('99456138dea56bf3a178f2c41d29aec2e5c82f5030918483761c894460b3583944f3356f93a90dbe14ba5a661e093d2b227c4aec684f0625a93398366b90b112'
+sha512sums=('77147195a66ca8ee8e1da21334049673ddadd5abb8079549d2d36ba2ac8fa254047d40da6168032dc1c435f4a39318a3ed0c2b4b2c7936d3d07b46466f4aadfc'
             '5caafe5300621ced58479e724b39656afc17f32a64ecde5dfa4919683ef37d9121552c78f066678472acb56e0a34b5c3cf34d9b44414d1ed5d91f725d180fa43'
             '616188911fa7b7c569bc2d5e2024177e67366c48b4ffef1f7ad4dc8e4e9e2cdb421b687f45a1e9bdec8bf2736a157ca9f1e0ba24edae2f073b8c7b5ac42745e8')
 
@@ -41,7 +39,7 @@
 _srcdir="gitlab-shell-v${pkgver}"
 
 prepare() {
-  cd "${srcdir}/${_srcdir}"-*
+  cd "${srcdir}/${_srcdir}"
 
   sed -e "s|user: git|user: gitlab|" \
       -e "s|/home/git|${_homedir}|" \
@@ -53,13 +51,13 @@
 }
 
 build() {
-  cd "${srcdir}/${_srcdir}"-*
+  cd "${srcdir}/${_srcdir}"
 
   make build
 }
 
 package() {
-  cd "${srcdir}/${_srcdir}"-*
+  cd "${srcdir}/${_srcdir}"
 
   install -dm755 -o root -g root "${pkgdir}${_datadir}"
   install -dm750 -o 105 -g 105 "${pkgdir}${_homedir}"


More information about the arch-commits mailing list