From ac2713671ba6453b7c95ca0355ec10beca1c9f5c Mon Sep 17 00:00:00 2001 From: icp Date: Fri, 17 Feb 2023 22:50:39 +0530 Subject: [PATCH] yank: update to 1.2.0. --- srcpkgs/yank/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/yank/template b/srcpkgs/yank/template index 079591099a77..4f77d1acb297 100644 --- a/srcpkgs/yank/template +++ b/srcpkgs/yank/template @@ -4,7 +4,8 @@ version=1.2.0 revision=1 build_style=gnu-makefile make_use_env=yes -depends="xsel" +make_build_args="YANKCMD=$(vopt_if wayland wl-copy)" +depends="$(vopt_if x11 xsel) $(vopt_if wayland wl-clipboard)" short_desc="Yank terminal output to clipboard" maintainer="Orphaned " license="MIT" @@ -13,6 +14,9 @@ changelog="https://raw.githubusercontent.com/mptre/yank/master/CHANGELOG.md" distfiles="https://github.com/mptre/yank/releases/download/v${version}/yank-${version}.tar.gz" checksum=b500d1a71378e69a2a348032107e6d8db728b8f6af280a9bb4cb446c1d26e43a +build_options="x11 wayland" +build_options_default="x11" + post_install() { vlicense LICENSE }