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

Sven-Hendrik Haase svenstaro at archlinux.org
Fri Jan 27 13:05:13 UTC 2017


    Date: Friday, January 27, 2017 @ 13:05:12
  Author: svenstaro
Revision: 209218

upgpkg: gitlab-runner 1.10.3-1

upstream release 1.10.3

Modified:
  gitlab-runner/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-01-27 13:02:03 UTC (rev 209217)
+++ PKGBUILD	2017-01-27 13:05:12 UTC (rev 209218)
@@ -37,8 +37,8 @@
 
 prepare() {
     mkdir -p "${srcdir}/src/gitlab.com/gitlab-org/"
-    ln -sf "${srcdir}/gitlab-ci-multi-runner" "${srcdir}/src/gitlab.com/gitlab-org/${pkgname}"
-    cd "${srcdir}/src/gitlab.com/gitlab-org/${pkgname}"
+    ln -sf "${srcdir}/gitlab-ci-multi-runner" "${srcdir}/src/gitlab.com/gitlab-org/gitlab-ci-multi-runner"
+    cd "${srcdir}/src/gitlab.com/gitlab-org/gitlab-ci-multi-runner"
 
     export GOPATH="${srcdir}"
     make deps
@@ -48,7 +48,7 @@
 }
 
 build() {
-    cd "${srcdir}/src/gitlab.com/gitlab-org/${pkgname}"
+    cd "${srcdir}/src/gitlab.com/gitlab-org/gitlab-ci-multi-runner"
 
     GOPATH="${srcdir}" go-bindata \
         -pkg docker \
@@ -63,12 +63,12 @@
 }
 
 package() {
-    cd "${srcdir}/src/gitlab.com/gitlab-org/${pkgname}"
+    cd "${srcdir}/src/gitlab.com/gitlab-org/gitlab-ci-multi-runner"
 
     install -Dm644 "${srcdir}/config.toml" "${pkgdir}/etc/gitlab-runner/config.toml"
     install -Dm644 "${srcdir}/gitlab-runner.service" "${pkgdir}/usr/lib/systemd/system/gitlab-runner.service"
     install -Dm644 "${srcdir}/gitlab-runner.sysusers" "${pkgdir}/usr/lib/sysusers.d/gitlab-runner.conf"
     install -Dm644 "${srcdir}/gitlab-runner.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/gitlab-runner.conf"
-    install -Dm755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
-    ln -s /usr/bin/${pkgname} "${pkgdir}/usr/bin/gitlab-runner"
+    install -Dm755 "gitlab-ci-multi-runner" "${pkgdir}/usr/bin/gitlab-ci-multi-runner"
+    ln -s /usr/bin/gitlab-ci-multi-runner "${pkgdir}/usr/bin/gitlab-runner"
 }



More information about the arch-commits mailing list