diff --git a/srcpkgs/wl-clip-persist/template b/srcpkgs/wl-clip-persist/template new file mode 100644 index 00000000000..25e25855853 --- /dev/null +++ b/srcpkgs/wl-clip-persist/template @@ -0,0 +1,22 @@ +# 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 " +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 +}