void-packages/srcpkgs/tiny/template

26 lines
808 B
Bash

# Template file for 'tiny'
pkgname=tiny
version=0.11.0
revision=2
build_wrksrc="crates/tiny"
build_style=cargo
configure_args="--no-default-features --features=desktop-notifications --features=tls-native"
hostmakedepends="pkg-config"
makedepends="openssl-devel dbus-devel"
short_desc="Tiny terminal IRC client"
maintainer="eoli3n <jonathan.kirszling@runbox.com>"
license="MIT"
homepage="https://github.com/osa1/tiny"
changelog="https://raw.githubusercontent.com/osa1/tiny/master/CHANGELOG.md"
distfiles="https://github.com/osa1/tiny/archive/refs/tags/v${version}.tar.gz"
checksum=4bd412760a35ff41220ab918702d003c710379537db9621477f63ee201a68440
pre_build() {
# fixes an indexmap error when cross compiling
cargo update --package autocfg:1.1.0 --precise 1.1.0
}
post_install() {
vlicense ../../LICENSE
}