blob: a163eb738ecc96476bd40f420470f2af95b551a7 (
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
28
29
30
31
32
33
34
35
36
|
# Maintainer: Mikhail f. Shiryaev <mr dot felixoid at gmail dot com>
pkgname='docker-scout'
pkgver=1.13.0
pkgrel=1
pkgdesc="Docker Scout is a set of software supply chain features integrated into Docker's user interfaces and command line interface (CLI)."
url='https://github.com/docker/scout-cli'
arch=('aarch64' 'x86_64')
license=('PROPRIETARY')
# for CARCH in x86_64 aarch64
# do
# pkgver=$(grep '^pkgver=' PKGBUILD | cut -f2 -d=)
# CARCH=$CARCH makepkg --verifysource --nobuild --noextract
# done
# for CARCH in x86_64 aarch64
# do
# echo "sha256sums_${CARCH}=("
# [ "$CARCH" == aarch64 ] && CARCH=arm64
# sha256sum "docker-scout_${pkgver}_${CARCH}.tar.gz" | sed -r 's|(\w+).+| \1|'
# echo ')'
# done
source_aarch64=("${pkgname}_${pkgver}_arm64.tar.gz::https://github.com/docker/scout-cli/releases/download/v${pkgver}/docker-scout_${pkgver}_linux_arm64.tar.gz")
source_x86_64=("${pkgname}_${pkgver}_x86_64.tar.gz::https://github.com/docker/scout-cli/releases/download/v${pkgver}/docker-scout_${pkgver}_linux_amd64.tar.gz")
sha256sums_x86_64=(
0ad88fe202b9308bcca248e9e870e1052db1d1d8186553de6b1f1d3b9164ad77
)
sha256sums_aarch64=(
2480722c799ff8e6d28273ee1d5c9f2a5018981213d6beebc80ffbfcc4338890
)
package() {
# bin
install -Dm755 "./docker-scout" "${pkgdir}/usr/lib/docker/cli-plugins/docker-scout"
}
|