diff options
author | Sasasu | 2020-11-30 15:02:32 +0800 |
---|---|---|
committer | Sasasu | 2020-11-30 15:02:32 +0800 |
commit | f33bffefa491c39309d1755a872d290d29d2cd88 (patch) | |
tree | 5f61963d2e53e50a27f04267959dec8801ddd3f0 | |
download | aur-f33bffefa491c39309d1755a872d290d29d2cd88.tar.gz |
init for fly-cli
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 21 |
2 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..e2a9e1c9ee09 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = fly-cli + pkgdesc = A command line interface for Concourse CI + pkgver = v6.7.1 + pkgrel = 1 + url = https://github.com/concourse/concourse/tree/master/fly + arch = x86_64 + license = Apache-2.0 + makedepends = go + conflicts = concourse-fly + conflicts = concourse-fly-bin + conflicts = concourse-fly-git + source = https://github.com/concourse/concourse/archive/v6.7.1.tar.gz + sha256sums = b7e779b161dcf8508d87702478504fbdd2a17cdfaa898eb10261e5067ed3c7e5 + +pkgname = fly-cli + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..18b38ea484c7 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,21 @@ +# Maintainer: Sasasu <su@sasasu.me> +pkgname=fly-cli +pkgver=v6.7.1 +pkgrel=1 +pkgdesc="A command line interface for Concourse CI" +arch=("x86_64") +url="https://github.com/concourse/concourse/tree/master/fly" +license=('Apache-2.0') +makedepends=("go") +conflicts=("concourse-fly" "concourse-fly-bin" "concourse-fly-git") +source=("https://github.com/concourse/concourse/archive/$pkgver.tar.gz") +sha256sums=('b7e779b161dcf8508d87702478504fbdd2a17cdfaa898eb10261e5067ed3c7e5') + +build() { + cd concourse-*/fly + go build -o ../../fly +} + +package() { + install -Dm755 fly "${pkgdir}/usr/bin/fly" +} |