2022-09-21 13:00:59 +02:00
|
|
|
# Template file for 'cargo-update'
|
|
|
|
pkgname=cargo-update
|
2022-10-25 11:50:19 +02:00
|
|
|
version=11.0.0
|
2022-09-21 13:00:59 +02:00
|
|
|
revision=1
|
|
|
|
build_style=cargo
|
|
|
|
hostmakedepends="cmake pkg-config go-md2man"
|
|
|
|
makedepends="libgit2-devel libssh2-devel openssl-devel"
|
|
|
|
short_desc="Cargo subcommand for updates to installed executables"
|
|
|
|
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
|
|
|
|
license="MIT"
|
|
|
|
homepage="https://github.com/nabijaczleweli/cargo-update"
|
|
|
|
distfiles="https://github.com/nabijaczleweli/cargo-update/archive/refs/tags/v${version}.tar.gz"
|
2022-10-25 11:50:19 +02:00
|
|
|
checksum=29ff0eeb72c71efcdd3b91cb7e0203d83cec0124b6203d0da83ce2c38f66d1cd
|
2022-10-04 17:48:42 +02:00
|
|
|
|
|
|
|
# on i686, unexpected index dir hashes are generated
|
|
|
|
if [ "$XBPS_TARGET_MACHINE" == "i686" ]; then
|
|
|
|
make_check_args="-- --skip ops::assert_index_path"
|
|
|
|
fi
|
2022-09-21 13:00:59 +02:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vlicense LICENSE
|
|
|
|
vdoc README.md
|
|
|
|
|
|
|
|
cd man
|
|
|
|
for page in *.md; do
|
|
|
|
go-md2man -in ${page} -out ${page%.md}.1
|
|
|
|
vman ${page%.md}.1
|
|
|
|
done
|
|
|
|
}
|