# Template file for 'wl-clip-persist'
pkgname=wl-clip-persist
version=0.4.3
revision=1
build_style=cargo
hostmakedepends="pkg-config"
makedepends="wayland-devel"
short_desc="Keep Wayland clipboard even after programs close"
maintainer="Akash Mondal <akash@mondal.zip>"
license="MIT"
homepage="https://github.com/Linus789/wl-clip-persist"
changelog="https://github.com/Linus789/wl-clip-persist/releases"
distfiles="https://github.com/Linus789/wl-clip-persist/archive/refs/tags/v${version}.tar.gz"
checksum="83df75502cf5699e71cd022730ae7c87d0cceaea396be83120643e9aa2b96d97"

pre_build() {
	cargo update --package wayrs-core:1.0.0 --precise 1.0.5
}

post_install() {
	vlicense LICENSE
}
