summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorShohei Maruyama2021-03-23 11:50:53 +0900
committerShohei Maruyama2021-03-23 11:53:49 +0900
commitb6ae30de9bf0b828d0943e895deb14d23e911682 (patch)
treed0c0869407fbe74da38c56b0e25e3e6a2397ec61
parentd9492c6e36bccb801096f6da6ad384375131277b (diff)
downloadaur-b6ae30de9bf0b828d0943e895deb14d23e911682.tar.gz
concourse: Replace packr with go build
packr is no longer required fot building concourse. See https://github.com/concourse/ci/commit/fd8a1d7820cfd3f23481ae24ac29328a44d15228. Signed-off-by: Shohei Maruyama <cheat.sc.linux@outlook.com>
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD8
2 files changed, 4 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b0369a03be9..aaff3a06b4f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = concourse
pkgver = 7.1.0
- pkgrel = 1
+ pkgrel = 2
url = https://concourse-ci.org
arch = x86_64
license = Apache-2.0
diff --git a/PKGBUILD b/PKGBUILD
index 50de0958a6c..1c44b77ff48 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
pkgbase='concourse'
pkgname=('concourse' 'concourse-fly-cli' 'concourse-resource-types')
pkgver=7.1.0
-pkgrel=1
+pkgrel=2
arch=('x86_64')
url='https://concourse-ci.org'
license=('Apache-2.0')
@@ -27,8 +27,6 @@ prepare() {
sed -e 's#/usr/local/concourse/bin/init#/usr/lib/concourse/bin/init#' -i worker/runtime/spec/mounts.go
sed -e 's#"init-bin" default:"/usr/local/concourse/bin/init"#"init-bin" default:"/usr/lib/concourse/bin/init"#' -i worker/workercmd/worker_linux.go
- go get github.com/gobuffalo/packr/packr
-
go get -d ./...
yarn
}
@@ -39,8 +37,8 @@ build() {
export PATH=$PATH:"$GOPATH/bin"
ldflags="-X github.com/concourse/concourse.Version=${pkgver}"
yarn build
- packr build -o concourse -trimpath -ldflags "${ldflags}" ./cmd/concourse
- packr build -o fly -trimpath -ldflags "${ldflags}" ./fly
+ go build -o concourse -trimpath -ldflags "${ldflags}" ./cmd/concourse
+ go build -o fly -trimpath -ldflags "${ldflags}" ./fly
gcc -O2 -static cmd/init/init.c -o init
}