void-packages/srcpkgs/tiny/template

26 lines
808 B
Bash

# Template file for 'tiny'
pkgname=tiny
version=0.12.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"
changelog="https://raw.githubusercontent.com/osa1/tiny/master/CHANGELOG.md"
distfiles="https://github.com/osa1/tiny/archive/refs/tags/v${version}.tar.gz"
checksum=95406a234fe4c7013edab622970e89a5b56d4441fb5c1ec871a992fc6ee8db7a
pre_build() {
# fixes an indexmap error when cross compiling
cargo update --package autocfg:1.1.0 --precise 1.1.0
}
post_install() {
vlicense ../../LICENSE
}