summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorShohei Maruyama2021-02-16 17:37:50 +0900
committerShohei Maruyama2021-02-16 17:41:06 +0900
commit96249858f525f355e7650d2d1871b199e63ce680 (patch)
treece0926d1d254b5614de1277d139435035c9c1c94
parentd626ff083c3c459fb23ccd9c69862b606f84af37 (diff)
downloadaur-96249858f525f355e7650d2d1871b199e63ce680.tar.gz
concourse: Add concourse-resource-types package
The package provides basic resource types of concourse. Signed-off-by: Shohei Maruyama <cheat.sc.linux@outlook.com>
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD20
2 files changed, 22 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fefa2d262b6..3c0daa5c395 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -7,13 +7,16 @@ pkgbase = concourse
makedepends = go-pie
makedepends = yarn
source = concourse-6.7.4.tar.gz::https://github.com/concourse/concourse/archive/v6.7.4.tar.gz
+ source = https://github.com/concourse/concourse/releases/download/v6.7.4/concourse-6.7.4-linux-amd64.tgz
sha256sums = d8e95f7a38c7efab9450315b64250bb5c26baec9f49ae204a6dbce31c9a62244
+ sha256sums = a2f9953c1fc7673d9d3cdf36a35a5181b3869ab668c9bda7f7c1d2dfcd6168c5
pkgname = concourse
pkgdesc = Concourse is a container-based continuous thing-doer written in Go and Elm
optdepends = cni-plugins
optdepends = containerd
optdepends = postgresql
+ optdepends = concourse-resource-types
conflicts = concourse-bin
pkgname = concourse-fly-cli
@@ -23,3 +26,6 @@ pkgname = concourse-fly-cli
conflicts = concourse-fly-git
conflicts = fly-cli
+pkgname = concourse-resource-types
+ pkgdesc = Concourse basic resource types
+
diff --git a/PKGBUILD b/PKGBUILD
index 0b625434f23..f959251a350 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,15 +3,17 @@
# Contributor: Bram Swenson <bram@amplified.work>
pkgbase='concourse'
-pkgname=('concourse' 'concourse-fly-cli')
+pkgname=('concourse' 'concourse-fly-cli' 'concourse-resource-types')
pkgver=6.7.4
pkgrel=1
arch=('x86_64')
url='https://concourse-ci.org'
license=('Apache-2.0')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/concourse/concourse/archive/v${pkgver}.tar.gz")
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/concourse/concourse/archive/v${pkgver}.tar.gz"
+ "https://github.com/concourse/concourse/releases/download/v${pkgver}/concourse-${pkgver}-linux-amd64.tgz")
makedepends=('go-pie' 'yarn')
-sha256sums=('d8e95f7a38c7efab9450315b64250bb5c26baec9f49ae204a6dbce31c9a62244')
+sha256sums=('d8e95f7a38c7efab9450315b64250bb5c26baec9f49ae204a6dbce31c9a62244'
+ 'a2f9953c1fc7673d9d3cdf36a35a5181b3869ab668c9bda7f7c1d2dfcd6168c5')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
@@ -43,7 +45,7 @@ build() {
package_concourse() {
pkgname=concourse
pkgdesc="Concourse is a container-based continuous thing-doer written in Go and Elm"
- optdepends=('cni-plugins' 'containerd' 'postgresql')
+ optdepends=('cni-plugins' 'containerd' 'postgresql' 'concourse-resource-types')
conflicts=('concourse-bin')
cd "${srcdir}/${pkgbase}-${pkgver}"
@@ -66,3 +68,13 @@ package_concourse-fly-cli() {
mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}"
ln -s /usr/share/licenses/common/Apache/license.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
+
+package_concourse-resource-types() {
+ pkgname=concourse-resource-types
+ pkgdesc="Concourse basic resource types"
+
+ cd "${srcdir}/${pkgbase}/resource-types"
+
+ install -dm755 "${pkgdir}/usr/lib/${pkgbase}/resource-types"
+ cp -r * "${pkgdir}/usr/lib/${pkgbase}/resource-types/"
+}