-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPKGBUILD
More file actions
23 lines (19 loc) · 762 Bytes
/
Copy pathPKGBUILD
File metadata and controls
23 lines (19 loc) · 762 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: deadnews <deadnewsgit@gmail.com>
name="pindock"
pkgname="${name}-bin"
pkgver="0.0.0"
pkgrel=1
pkgdesc="Pin and update Docker image digests in Dockerfiles and compose files"
arch=("x86_64" "aarch64")
url="https://github.com/deadnews/pindock"
license=("MIT")
provides=("${name}")
conflicts=("${name}")
options=("!strip")
source_x86_64=("${name}_${pkgver//_/-}_linux_amd64.tar.gz::${url}/releases/download/v${pkgver//_/-}/${name}_${pkgver//_/-}_linux_amd64.tar.gz")
source_aarch64=("${name}_${pkgver//_/-}_linux_arm64.tar.gz::${url}/releases/download/v${pkgver//_/-}/${name}_${pkgver//_/-}_linux_arm64.tar.gz")
sha256sums_x86_64=("SKIP")
sha256sums_aarch64=("SKIP")
package() {
install -Dm755 "${srcdir}/${name}" "${pkgdir}/usr/bin/${name}"
}