void-packages/srcpkgs/halloy/template

25 lines
988 B
Bash

# Template file for 'halloy'
pkgname=halloy
version=2024.11
revision=1
build_style=cargo
hostmakedepends="pkg-config"
makedepends="alsa-lib-devel libglvnd-devel openssl-devel wayland-devel"
short_desc="IRC application"
maintainer="tranzystorekk <tranzystorek.io@protonmail.com>"
license="GPL-3.0-or-later"
homepage="https://github.com/squidowl/halloy"
changelog="https://raw.githubusercontent.com/squidowl/halloy/main/CHANGELOG.md"
distfiles="https://github.com/squidowl/halloy/archive/refs/tags/${version}.tar.gz"
checksum=d1da65298b53d1938735df5f41e5c7cd2b591093d61329e308e5a2a94059dad7
post_install() {
vinstall assets/linux/org.squidowl.halloy.appdata.xml 644 usr/share/metainfo
vinstall assets/linux/org.squidowl.halloy.desktop 644 usr/share/applications
vsconf config.toml
for _size in 16x16 24x24 32x32 48x48 64x64 96x96 128x128 256x256 512x512; do
vinstall assets/linux/icons/hicolor/${_size}/apps/org.squidowl.halloy.png 644 usr/share/icons/hicolor/${_size}/apps
done
}