void-packages/srcpkgs/gip/template

23 lines
700 B
Bash
Raw Normal View History

2019-08-11 14:51:37 +02:00
# Template file for 'gip'
pkgname=gip
version=0.6.0
2019-08-14 16:23:17 +02:00
revision=2
2019-08-11 14:51:37 +02:00
build_style=cargo
short_desc="CLI tool to get global IP address"
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
license="MIT"
homepage="https://github.com/dalance/gip"
distfiles="https://github.com/dalance/gip/archive/v${version}.tar.gz"
checksum=b8f5ba15a554ba4cb85a32449a8f665db24ab9dde7c47e7e6e10724fc9a76422
2019-08-14 16:23:17 +02:00
pre_build() {
# the defined version (0.2.39 at the time of writing) is buggy on
# ppc64*-musl, pin the oldest newer working version; on next update
# please check Cargo.lock to verify if this is still necessary
cargo update --package libc --precise 0.2.43
}
2019-08-11 14:51:37 +02:00
post_install() {
vlicense LICENSE-MIT
}