void-packages/srcpkgs/git-brws/template

23 lines
658 B
Bash

# Template file for 'git-brws'
pkgname=git-brws
version=0.11.12
revision=2
build_style=cargo
hostmakedepends="pkg-config"
makedepends="openssl-devel"
short_desc="CLI tool for opening web page of the hoster for a git remote"
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
license="MIT"
homepage="https://rhysd.github.io/git-brws/"
distfiles="https://github.com/rhysd/git-brws/archive/v${version}.tar.gz"
checksum=3a4bbf93f0b16562260ca66c2b60c655d5bfc690d0229d11757be76d95cb81c5
pre_build() {
# fixes an indexmap error when cross compiling
cargo update --package autocfg:1.0.1 --precise 1.1.0
}
post_install() {
vlicense LICENSE.txt
}