pv-migrate: update build process
Generate Checksum / renovate (pull_request) Has been skipped
Details
Check build / Lint templates (pull_request) Failing after 21s
Details
Check build / Build packages (map[arch:aarch64-musl host:x86_64-musl libc:musl platform:linux/amd64 test:0]) (pull_request) Failing after 4m52s
Details
Check build / Build packages (map[arch:aarch64 host:x86_64 libc:glibc platform:linux/amd64 test:0]) (pull_request) Failing after 5m56s
Details
Check build / Build packages (map[arch:armv6l-musl host:x86_64-musl libc:musl platform:linux/amd64 test:0]) (pull_request) Failing after 5m53s
Details
Check build / Build packages (map[arch:armv7l host:x86_64 libc:glibc platform:linux/amd64 test:0]) (pull_request) Failing after 5m53s
Details
Check build / Build packages (map[arch:x86_64-musl host:x86_64-musl libc:musl platform:linux/amd64 test:1]) (pull_request) Successful in 5m49s
Details
Check build / Build packages (map[arch:i686 host:i686 libc:glibc platform:linux/386 test:1]) (pull_request) Successful in 5m54s
Details
Check build / Build packages (map[arch:x86_64 host:x86_64 libc:glibc platform:linux/amd64 test:1]) (pull_request) Successful in 5m58s
Details
Generate Checksum / renovate (pull_request) Has been skipped
Details
Check build / Lint templates (pull_request) Failing after 21s
Details
Check build / Build packages (map[arch:aarch64-musl host:x86_64-musl libc:musl platform:linux/amd64 test:0]) (pull_request) Failing after 4m52s
Details
Check build / Build packages (map[arch:aarch64 host:x86_64 libc:glibc platform:linux/amd64 test:0]) (pull_request) Failing after 5m56s
Details
Check build / Build packages (map[arch:armv6l-musl host:x86_64-musl libc:musl platform:linux/amd64 test:0]) (pull_request) Failing after 5m53s
Details
Check build / Build packages (map[arch:armv7l host:x86_64 libc:glibc platform:linux/amd64 test:0]) (pull_request) Failing after 5m53s
Details
Check build / Build packages (map[arch:x86_64-musl host:x86_64-musl libc:musl platform:linux/amd64 test:1]) (pull_request) Successful in 5m49s
Details
Check build / Build packages (map[arch:i686 host:i686 libc:glibc platform:linux/386 test:1]) (pull_request) Successful in 5m54s
Details
Check build / Build packages (map[arch:x86_64 host:x86_64 libc:glibc platform:linux/amd64 test:1]) (pull_request) Successful in 5m58s
Details
This commit is contained in:
parent
6bb3c70d3c
commit
321b08c3fb
|
@ -2,11 +2,10 @@
|
||||||
pkgname=pv-migrate
|
pkgname=pv-migrate
|
||||||
version=2.0.1 # renovate utkuozdemir/pv-migrate
|
version=2.0.1 # renovate utkuozdemir/pv-migrate
|
||||||
revision=2
|
revision=2
|
||||||
archs="x86_64* i686"
|
|
||||||
build_style=go
|
build_style=go
|
||||||
go_import_path="github.com/utkuozdemir/pv-migrate"
|
go_import_path="github.com/utkuozdemir/pv-migrate"
|
||||||
go_package="./cmd/pv-migrate"
|
go_package="./cmd/pv-migrate"
|
||||||
hostmakedepends="go"
|
go_ldflags="-X ${go_import_path}/cmd.version=${version}"
|
||||||
short_desc="CLI tool to easily migrate Kubernetes persistent volumes"
|
short_desc="CLI tool to easily migrate Kubernetes persistent volumes"
|
||||||
maintainer="Luca Bilke <luca@bil.ke>"
|
maintainer="Luca Bilke <luca@bil.ke>"
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
|
@ -14,9 +13,18 @@ homepage="https://github.com/utkuozdemir/pv-migrate"
|
||||||
distfiles="https://github.com/utkuozdemir/pv-migrate/archive/v${version}.tar.gz"
|
distfiles="https://github.com/utkuozdemir/pv-migrate/archive/v${version}.tar.gz"
|
||||||
checksum=37cfb0b7bfa581b32047fe6dbc9b834b4323629a5c946060dc897fe9bcef8e7c
|
checksum=37cfb0b7bfa581b32047fe6dbc9b834b4323629a5c946060dc897fe9bcef8e7c
|
||||||
|
|
||||||
post_install() {
|
# fix: collect2: fatal error: cannot find 'ld'
|
||||||
|
export LDFLAGS="-fuse-ld=bfd"
|
||||||
|
|
||||||
|
post_build() {
|
||||||
|
ls -lAH _build-pv-migrate-xbps
|
||||||
for shell in bash zsh fish; do
|
for shell in bash zsh fish; do
|
||||||
${PKGDESTDIR}/usr/bin/${pkgname} completion "$shell" >"${pkgname}.$shell"
|
_build-pv-migrate-xbps/bin/pv-migrate completion $shell >pv-migrate.$shell
|
||||||
vcompletion "${pkgname}.$shell" "$shell"
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
for shell in bash zsh fish; do
|
||||||
|
vcompletion pv-migrate.$shell $shell
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue