void-packages/srcpkgs/tiny/template

25 lines
715 B
Bash

# Template file for 'tiny'
pkgname=tiny
version=0.10.0
revision=1
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"
distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
checksum=7f4751b5e34057ba65e86f3819f2ae8288307a5a8e83e5fbb2733759c8100cb7
pre_build() {
# fixes an indexmap error when cross compiling
cargo update --package autocfg:1.0.1 --precise 1.1.0
}
post_install() {
vlicense ../../LICENSE
}