From 9a9ab921f4edb98161b1fefe6178d79c6b9c2ea4 Mon Sep 17 00:00:00 2001 From: icp Date: Fri, 17 Feb 2023 22:50:39 +0530 Subject: [PATCH] yank: update to 1.3.0. --- srcpkgs/yank/template | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/srcpkgs/yank/template b/srcpkgs/yank/template index 079591099a77..55995f2a2458 100644 --- a/srcpkgs/yank/template +++ b/srcpkgs/yank/template @@ -1,17 +1,21 @@ # Template file for 'yank' pkgname=yank -version=1.2.0 +version=1.3.0 revision=1 build_style=gnu-makefile make_use_env=yes -depends="xsel" +make_build_args="YANKCMD=$(vopt_if wayland wl-copy xsel)" +depends="$(vopt_if x11 xsel) $(vopt_if wayland wl-clipboard)" short_desc="Yank terminal output to clipboard" maintainer="Orphaned " license="MIT" homepage="https://github.com/mptre/yank" 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 +checksum=d49c2ed2b84cc24792acb407c6aa3a8d255b90476a2bcd36b103bd0c5e216f1c + +build_options="x11 wayland" +build_options_default="x11" post_install() { vlicense LICENSE