blob: 11b92219bbcc0acb03bf45cce21c5e9b0c8d1000 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Maintainer: Michael William Le Nguyen <michael at mail dot ttp dot codes>
# Maintainer: Buildpacks Maintainers <cncf-buildpacks-maintainers at lists dot cncf dot io>
pkgname=pack-cli-git
pkgver=0.18.0+r4.gaa49ae6d
pkgrel=1
pkgdesc="CLI for building apps using Cloud Native Buildpacks"
arch=('x86_64')
url="https://buildpacks.io/"
license=('Apache')
makedepends=(
'git'
'go-pie'
)
provides=('pack-cli')
conflicts=('pack-cli')
source=("${pkgname}::git+https://github.com/buildpacks/pack")
sha512sums=("SKIP")
build() {
export GOPATH="${srcdir}/go"
cd "${srcdir}/${pkgname}"
PACK_VERSION=0.18.0 make build
}
package() {
export GOPATH="${srcdir}/go"
go clean -modcache
install -D -m755 "${srcdir}/${pkgname}/out/pack" "${pkgdir}/usr/bin/pack"
}
|