Update to 0.16.0
This commit is contained in:
parent
b4cb91d064
commit
84adf934e6
2 changed files with 10 additions and 11 deletions
6
.SRCINFO
6
.SRCINFO
|
@ -1,13 +1,13 @@
|
||||||
pkgbase = oras
|
pkgbase = oras
|
||||||
pkgdesc = A command line tool that allows you to push and pull files from any OCI registry
|
pkgdesc = A command line tool that allows you to push and pull files from any OCI registry
|
||||||
pkgver = 0.12.0
|
pkgver = 0.16.0
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://github.com/deislabs/oras
|
url = https://github.com/deislabs/oras
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
license = MIT
|
license = MIT
|
||||||
makedepends = go
|
makedepends = go
|
||||||
makedepends = git
|
makedepends = git
|
||||||
source = oras-0.12.0.tar.gz::https://github.com/oras-project/oras/archive/v0.12.0.tar.gz
|
source = git+https://github.com/oras-project/oras#commit=v0.16.0
|
||||||
sha512sums = 589324805c38f485ecb0122e35984cd6d7b87150c2e67d36bb3ca759750b9ccc9a4803aea9c56c4cbbfb19c914fe7a077d9d091b70b54babc446ac01d3bc2091
|
sha512sums = SKIP
|
||||||
|
|
||||||
pkgname = oras
|
pkgname = oras
|
||||||
|
|
15
PKGBUILD
15
PKGBUILD
|
@ -1,14 +1,14 @@
|
||||||
# Maintainer: Xuanwo <xuanwo@archlinuxcn.org>
|
# Maintainer: JayceCao <jaycecao520@gmail.com>
|
||||||
pkgname=oras
|
pkgname=oras
|
||||||
pkgver=0.12.0
|
pkgver=0.16.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc='A command line tool that allows you to push and pull files from any OCI registry'
|
pkgdesc='A command line tool that allows you to push and pull files from any OCI registry'
|
||||||
arch=(x86_64)
|
arch=(x86_64)
|
||||||
url='https://github.com/deislabs/oras'
|
url='https://github.com/deislabs/oras'
|
||||||
license=(MIT)
|
license=(MIT)
|
||||||
makedepends=('go' 'git')
|
makedepends=('go' 'git')
|
||||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/oras-project/oras/archive/v$pkgver.tar.gz")
|
source=("$pkgname::git+https://github.com/oras-project/oras#commit=v$pkgver")
|
||||||
sha512sums=('589324805c38f485ecb0122e35984cd6d7b87150c2e67d36bb3ca759750b9ccc9a4803aea9c56c4cbbfb19c914fe7a077d9d091b70b54babc446ac01d3bc2091')
|
sha512sums=('SKIP')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
# Flags to trim path from binary
|
# Flags to trim path from binary
|
||||||
|
@ -16,11 +16,10 @@ build() {
|
||||||
|
|
||||||
export VERSION=$pkgver
|
export VERSION=$pkgver
|
||||||
|
|
||||||
cd $pkgname-$pkgver
|
cd "$pkgname"
|
||||||
GOARCH=amd64 CGO_ENABLED=0 GOOS=linux go build \
|
make build-linux-amd64
|
||||||
-o bin/linux/amd64/oras github.com/oras-project/oras/cmd/oras
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
install -Dm 755 "$srcdir/$pkgname-$pkgver/bin/linux/amd64/$pkgname" "$pkgdir/usr/bin/$pkgname"
|
install -Dm 755 "$srcdir/$pkgname/bin/linux/amd64/$pkgname" "$pkgdir/usr/bin/$pkgname"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue