pv-migrate: fix cross-platform builds
Build/Publish XBPS / Build and publish packages (map[arch:aarch64-musl host:x86_64-musl libc:musl platform:linux/amd64]) (push) Failing after 7m51s
Details
Build/Publish XBPS / Build and publish packages (map[arch:x86_64 host:x86_64 libc:glibc platform:linux/amd64]) (push) Successful in 7m58s
Details
Build/Publish XBPS / Build and publish packages (map[arch:x86_64-musl host:x86_64-musl libc:musl platform:linux/amd64]) (push) Successful in 7m59s
Details
Build/Publish XBPS / Build and publish packages (map[arch:aarch64-musl host:x86_64-musl libc:musl platform:linux/amd64]) (push) Failing after 7m51s
Details
Build/Publish XBPS / Build and publish packages (map[arch:x86_64 host:x86_64 libc:glibc platform:linux/amd64]) (push) Successful in 7m58s
Details
Build/Publish XBPS / Build and publish packages (map[arch:x86_64-musl host:x86_64-musl libc:musl platform:linux/amd64]) (push) Successful in 7m59s
Details
This commit is contained in:
parent
6bb3c70d3c
commit
a614bb9143
|
@ -14,9 +14,17 @@ 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() {
|
||||||
for shell in bash zsh fish; do
|
for shell in bash zsh fish; do
|
||||||
${PKGDESTDIR}/usr/bin/${pkgname} completion "$shell" >"${pkgname}.$shell"
|
go run main.go completion $shell >completion.$shell
|
||||||
vcompletion "${pkgname}.$shell" "$shell"
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
for shell in bash zsh fish; do
|
||||||
|
vcompletion completion.$shell $shell
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue