# Template file for 'halloy'
pkgname=halloy
version=2024.3
revision=1
build_style=cargo
hostmakedepends="pkg-config"
makedepends="libglvnd-devel openssl-devel wayland-devel"
short_desc="IRC application"
maintainer="Marcin Puc <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=49ea53780037a27e71603f14e92da18cfadd5ee7b7725a697a096dfa2e07d184

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
	vinstall assets/linux/org.squidowl.halloy.png 644 usr/share/icons/hicolor/128x128/apps
	vsconf config.yaml
}
