33 lines
1.3 KiB
Bash
33 lines
1.3 KiB
Bash
# Template file for 'intermodal'
|
|
pkgname=intermodal
|
|
version=0.1.13
|
|
revision=1
|
|
build_style=cargo
|
|
make_check_args="-- --skip subcommand::torrent::verify::tests::output_multiple
|
|
--skip subcommand::torrent::verify::tests::output_color
|
|
--skip tracker::client::tests::client_announce_ipv6
|
|
--skip tracker::client::tests::client_connect_v6"
|
|
short_desc="User-friendly and featureful command-line BitTorrent metainfo utility"
|
|
maintainer="Pika <pika@lasagna.dev>"
|
|
license="CC0-1.0"
|
|
homepage="https://github.com/casey/intermodal"
|
|
distfiles="https://github.com/casey/intermodal/archive/refs/tags/v${version}.tar.gz
|
|
https://github.com/casey/intermodal/releases/download/v${version}/imdl-v${version}-x86_64-unknown-linux-musl.tar.gz"
|
|
checksum="e0c7bbfb7c4f260b7be1dd2862778fd42dc091ba2525480bc86574f2abe806ae
|
|
95b49234140d265ac7a9de8caa821c9d110713bf687bedb8a415354ac07dcfa3"
|
|
skip_extraction="imdl-v${version}-x86_64-unknown-linux-musl.tar.gz"
|
|
|
|
post_install() {
|
|
bsdtar xf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/imdl-v${version}-x86_64-unknown-linux-musl.tar.gz \
|
|
--include="completions/*" \
|
|
--include="man/*"
|
|
|
|
vcompletion completions/imdl.bash bash imdl
|
|
vcompletion completions/imdl.fish fish imdl
|
|
vcompletion completions/_imdl zsh imdl
|
|
|
|
for manpage in man/*.1; do
|
|
vman ${manpage}
|
|
done
|
|
}
|