28 lines
986 B
Bash
28 lines
986 B
Bash
# Template file for 'ferium'
|
|
pkgname=ferium
|
|
version=4.7.1
|
|
revision=1
|
|
build_style=cargo
|
|
build_helper=qemu
|
|
configure_args="--no-default-features"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libzstd-devel"
|
|
short_desc="CLI program for managing Minecraft mods and modpacks"
|
|
maintainer="yosh <yosh-git@riseup.net>"
|
|
license="MPL-2.0"
|
|
homepage="https://github.com/gorilla-devs/ferium"
|
|
changelog="https://raw.githubusercontent.com/gorilla-devs/ferium/main/CHANGELOG.md"
|
|
distfiles="https://github.com/gorilla-devs/ferium/archive/refs/tags/v${version}.tar.gz"
|
|
checksum=a9b9fd966f47d5f8c32e483a21ea476f6883f194e7813f1f81b0001e14b046a5
|
|
# tests rely on the github API, which randomly ratelimits unauthed conns
|
|
# to perform tests locally, export GITHUB_TOKEN to a personal access token
|
|
make_check=ci-skip
|
|
|
|
post_install() {
|
|
local ferium="${DESTDIR}/usr/bin/ferium"
|
|
for shell in bash fish zsh; do
|
|
vtargetrun ${ferium} complete ${shell} > ferium.${shell}
|
|
vcompletion ferium.${shell} ${shell}
|
|
done
|
|
}
|